Contenido principal

getDrivers

Available drivers on current OS

Since R2025a

    Description

    drivers = audiostreamer.getDrivers returns a list of available audio device drivers for the audiostreamer object on the current operating system.

    Tip

    You can use the audiodevreset function to refresh the list of available audio devices.

    example

    drivers = as.getDrivers returns the list using an existing audiostreamer object.

    Examples

    collapse all

    Obtain the list of audio device drivers for the audiostreamer object.

    driversList = audiostreamer.getDrivers
    driversList = 
    
      3×1 string array
    
        "DirectSound"
        "WASAPI"
        "ASIO"

    Input Arguments

    collapse all

    The audiostreamer object to query.

    Output Arguments

    collapse all

    Names of the available audio device drivers on the current operating system, returned as a string array.

    Version History

    Introduced in R2025a