다음: Audio Player, 이전: Audio File Utilities, 상위 문서: Audio Processing [차례][찾아보기]
Return a structure describing the available audio input and output devices.
The devinfo structure has two fields "input"
and
"output"
. The value of each field is a structure array with
fields "Name"
, "DriverVersion" and "ID"
describing an audio device.
If the optional argument io is 1, return information about input devices only. If it is 0, return information about output devices only. If io is the only argument supplied, return the number of input or output devices available.
If the optional argument 식별자 is provided, return information about the corresponding device.
If the optional argument 이름 is provided, return the id of the named device.
Given a sampling rate, bits per sample, and number of channels for an input or output device, return the ID of the first device that supports playback or recording using the specified parameters.
If also given a device ID, return true if the device supports playback or recording using those parameters.