Open a live playback audio device for output.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static ao_device open_live( int driver_id, ao_sample_format format, IntPtr option )
Public Shared Function open_live ( _ driver_id As Integer, _ format As ao_sample_format, _ option As IntPtr _ ) As ao_device
public: static ao_device^ open_live( int driver_id, ao_sample_format^ format, IntPtr option )
Parameters
- driver_id (Int32)
- The ID number of the driver as returned by either driver_id(String) or default_driver_id()()().
- format (ao_sample_format)
- A structure describing the sample format.
- option (IntPtr)
- A linked list of options to be passed to the driver or NULL if no options are needed. Unsupported options are ignored.
Return Value
An ao_device structure which must be passed in subsequent calls to play(ao_device, array<Byte>[]()[], UInt32) and close(ao_device).