VideoSound::CreateOutput

VideoSound::CreateOutput
virtual bool CreateOutput(UInt32 channels, UInt32 samplerate) = 0;
Description

CreateOutput initializes sound output to the specified number of channels and sample rate.

Parameters
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). 
Return Value

A Boolean value of true if the audio output is created successfully; otherwise false.