This class implements PCM audio player.
| C# | Visual Basic | Visual C++ | F# |
public class AudioOut : IDisposable
Public Class AudioOut Implements IDisposable
public ref class AudioOut : IDisposable
type AudioOut = class interface IDisposable end
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| AudioOut(AudioOutDevice, AudioFormat) |
Default constructor.
| |
| AudioOut(AudioOutDevice, Int32, Int32, Int32) |
Default constructor.
| |
| AudioFormat |
Gets audio format.
| |
| BitsPerSample |
Gets number of bits per sample.
| |
| BlockSize |
Gets one sample block size in bytes (nChannels * (bitsPerSample / 8)).
| |
| BytesBuffered |
Gets number of bytes buffered for playing.
| |
| Channels |
Gets number of channels.
| |
| Devices |
Gets all available audio output devices.
| |
| Dispose()()()() |
Cleans up any resources being used.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (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.) | |
| OutputDevice |
Gets audio output device where audio is outputed.
| |
| SamplesPerSec |
Gets number of samples per second.
| |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| Volume |
Gets or sets volume level. Value 0 is mute and value 100 is maximum.
| |
| Write(array<Byte>[]()[][], Int32, Int32) |
Writes specified audio data bytes to the active audio device. If player is currently playing, data will be queued for playing.
|
| Object | |
| AudioOut | |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119