Audio playback | audioinfo >> |
devices = audiodevinfo() |
devices = audiodevinfo('default') |
devices = audiodevinfo(io) |
name = audiodevinfo(io, id) |
id = audiodevinfo(io, name) |
id = audiodevinfo(io, rate, bits, channels) |
support = audiodevinfo(io, id, rate, bits, channels) |
input (1) or output (0) device
an integer value.
a string: name of the audio device to search.
a double scalar: sample rate.
an integer value: bits per sample.
an integer value: number of audio channel.
struct array
a string: name of the audio device specified by io and id.
an integer value.
a logical: true if values supported or false.
audiodevinfo returns a structure with available audio input and output devices.
devices = audiodevinfo('default') returns a structure with default used audio input and output devices.
info = audiodevinfo()
OUTPUT_DEVICE = 0;
INPUT_DEVICE = 1;
for k = [1:audiodevinfo(OUTPUT_DEVICE)]
info.output(k)
end
for k = [1:audiodevinfo(INPUT_DEVICE)]
info.output(k)
end
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET