Provides access to an open libao device.
| C# | Visual Basic | Visual C++ |
public sealed class AoDevice
Public NotInheritable Class AoDevice
public ref class AoDevice sealed
| All Members | Methods | Properties | |||
| Icon | Member | Description |
|---|---|---|
| Close()()() |
Closes the audio device and frees the memory allocated by libao internally.
| |
| Driver |
The driver used with this device.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()() | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| IsFile |
Returns true if the driver is used for file output.
| |
| IsLive |
Returns true if the device is used for live output.
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OpenFile(AoDriver, String, Boolean, Int32, Int32, Int32) |
Open a file for audio output. The file format is determined by the audio driver used.
| |
| OpenFile(AoDriver, String, Boolean, Int32, Int32, Int32, AoDriverOptions) |
Open a file for audio output. The file format is determined by the audio driver used.
| |
| OpenFile(AoDriver, String, Boolean, Int32, Int32, Int32, AoDriverOptions, ByteFormat) |
Open a file for audio output. The file format is determined by the audio driver used.
| |
| OpenLive(AoDriver, Int32, Int32, Int32) |
Open a live playback audio device for output.
| |
| OpenLive(AoDriver, Int32, Int32, Int32, AoDriverOptions) |
Open a live playback audio device for output.
| |
| OpenLive(AoDriver, Int32, Int32, Int32, AoDriverOptions, ByteFormat) |
Open a live playback audio device for output.
| |
| Play(array<Byte>[]()[]) |
Play a block of audio data to an open device. Samples are interleaved by channels (Time 1, Channel 1; Time 1, Channel 2; Time 2, Channel 1; etc.) in the memory buffer.
| |
| ToString()()() | (Inherited from Object.) |
| Object | |
| AoDevice | |