libao# 0.8.8
AoDevice Class
NamespacesXiph.Audio.OutputAoDevice
Provides access to an open libao device.
Declaration Syntax
C#Visual BasicVisual C++
public sealed class AoDevice
Public NotInheritable Class AoDevice
public ref class AoDevice sealed
Members
All MembersMethodsProperties



IconMemberDescription
Close()()()
Closes the audio device and frees the memory allocated by libao internally.

Driver
The driver used with this device.

Equals(Object)
Determines whether the specified Object is equal to the current 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()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
AoDevice

Assembly: libao-sharp (Module: libao-sharp) Version: 0.8.8.18341