Main Content

info

Get audio device information

Description

example

infoStruct = info(obj) returns a structure, infoStruct, containing information about the System object™, obj.

Examples

collapse all

Create an object of the audioDeviceReader System object™ and then call info to return a structure containing information about the selected driver, device name, and the maximum number of input channels.

deviceReader = audioDeviceReader;
info(deviceReader)

Create an object of the audioDeviceWriter System object™ and then call info to return a structure containing information about the selected driver, device name, and the maximum number of output channels.

deviceWriter = audioDeviceWriter;
info(deviceWriter)

Create an object of the audioPlayerRecorder System object™ and then call info to return a structure containing information about the selected driver, device name, and the maximum number of input and output channels.

playRec = audioPlayerRecorder;
info(playRec)

Input Arguments

collapse all

System object to get information from.

Output Arguments

collapse all

Struct containing information about the System object, obj. Fields of the struct depend on the System object.

Version History

Introduced in R2016a