CreateOutput initializes sound output to the specified number of channels and sample rate.
Parameters |
Description |
UInt32 samplerate |
Sample rate of the audio data. |
channel |
Number of sound channels (1 for monaural, 2 for stereo, 6 for 5.1ch). |
A Boolean value of true if the audio output is created successfully; otherwise false.