LumiSoft Net Help
AudioOut Constructor (device, samplesPerSec, bitsPerSample, channels)
Namespaces ► LumiSoft.Net.Media ► AudioOut ► AudioOut(AudioOutDevice, Int32, Int32, Int32)
Default constructor.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public AudioOut(
    	AudioOutDevice device,
    	int samplesPerSec,
    	int bitsPerSample,
    	int channels
    )

    Public Sub New (
    	device As AudioOutDevice,
    	samplesPerSec As Integer,
    	bitsPerSample As Integer,
    	channels As Integer
    )

    public:
    AudioOut(
    	AudioOutDevice^ device,
    	int samplesPerSec,
    	int bitsPerSample,
    	int channels
    )

    new :
            device : AudioOutDevice *
            samplesPerSec : int *
            bitsPerSample : int *
            channels : int -> AudioOut

Parameters

device (AudioOutDevice)
  Audio output device.

samplesPerSec (Int32)
  Sample rate, in samples per second (hertz).

bitsPerSample (Int32)
  Bits per sample. For PCM 8 or 16 are the only valid values.

channels (Int32)
  Number of channels.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when device is null reference.
ArgumentException | Is raised when any of the arguments has invalid value.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119