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, ByteFormat byteFmt )
Public Function OpenLive ( _ bitsPerSample As Integer, _ sampleRate As Integer, _ channels As Integer, _ options As AoDriverOptions, _ byteFmt As ByteFormat _ ) As AoDevice
public: AoDevice^ OpenLive( int bitsPerSample, int sampleRate, int channels, AoDriverOptions^ options, ByteFormat byteFmt )
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.
- byteFmt (ByteFormat)
- A ByteFormat value forcing the device to a specific input byte order.
Return Value
An AoDevice representing the open device, null if it cannot be opened.