This structure describes the format of audio samples.
| C# | Visual Basic | Visual C++ |
public class ao_sample_format
Public Class ao_sample_format
public ref class ao_sample_format
| All Members | Constructors | Methods | Fields | ||
| Icon | Member | Description |
|---|---|---|
| ao_sample_format(Int32, Int32, Int32, AO_FMT) |
Creates a structure with the specified values.
| |
| ao_sample_format(Int32, Int32, Int32) |
Creates a structure with the specified values and with the machine's native byte order.
| |
| bits |
Bits per sample.
| |
| byte_format |
Specifies the ordering of the sample bytes. The value of this member is ignored when samples have only 8 bits
| |
| channels |
Number of audio channels.
| |
| 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.) | |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| rate |
Samples per second (in a single channel).
| |
| ToString()()() | (Inherited from Object.) |
| Object | |
| ao_sample_format | |