Open a live playback audio device for output.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public AoDevice OpenLive( int bitsPerSample, int sampleRate, int channels, AoDriverOptions options )
Public Function OpenLive ( _ bitsPerSample As Integer, _ sampleRate As Integer, _ channels As Integer, _ options As AoDriverOptions _ ) As AoDevice
public: AoDevice^ OpenLive( int bitsPerSample, int sampleRate, int channels, AoDriverOptions^ options )
Parameters
- bitsPerSample (Int32)
- Bits per sample.
- sampleRate (Int32)
- Samples per second (in a single channel).
- channels (Int32)
- Number of audio channels.
- options (AoDriverOptions)
- An AoDriverOptions object containing driver-specific options.
Return Value
An AoDevice representing the open device, null if it cannot be opened.