Main Content

getAudioDevices

Available audio devices

Since R2025a

    Description

    devices = getAudioDevices(as) returns a list of audio devices that are available and compatible with the audiostreamer.

    Input Arguments

    collapse all

    The audiostreamer object to query.

    Output Arguments

    collapse all

    Available and compatible audio devices, returned as a struct array with information about the device name, driver, sample rate, and recorder and player channels.

    Version History

    Introduced in R2025a