This structure holds all of the data for an open device.

C# | Visual Basic | Visual C++ |
public class ao_device : IDisposable
Public Class ao_device _ Implements IDisposable
public ref class ao_device : IDisposable

All Members | Constructors | Methods | Fields | ||
Icon | Member | Description |
---|---|---|
![]() | ao_device()()() | Initializes a new instance of the ao_device class |
![]() | _internal |
Pointer to driver-specific data.
|
![]() | client_byte_format |
The byte format of samples provided by the client to play(ao_device, array<Byte>[]()[], UInt32).
|
![]() | Dispose()()() |
Release the unmanaged resources used by the driver.
|
![]() | driver_byte_format |
The byte format of samples requested by the driver.
|
![]() | driver_id |
The ID number for the driver used with this device.
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | file |
File for output if this is a file driver.
|
![]() | 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.) |
![]() | funcs |
Function table for the driver associated with this device.
|
![]() | 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.) |
![]() | machine_byte_format |
The native byte format of the computer.
|
![]() | MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | swap_buffer |
Scratch buffer used to swap the byte order of samples. Only allocated if client_byte_format and driver_byte_format correspond to different byte orders, otherwise set to Zero.
|
![]() | swap_buffer_size |
Number of bytes allocated to swap_buffer.
|
![]() | ToString()()() | (Inherited from Object.) |
![]() | type |
The output type of the driver (live/file).
|

Object | |
![]() | ao_device |