LumiSoft Net Help
Write Method (buffer, offset, count)
Namespaces ► LumiSoft.Net.Media ► AudioOut ► 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.
Declaration Syntax

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

    public void Write(
    	byte[] buffer,
    	int offset,
    	int count
    )

    Public Sub Write (
    	buffer As Byte(),
    	offset As Integer,
    	count As Integer
    )

    public:
    void Write(
    	array<unsigned char>^ buffer,
    	int offset,
    	int count
    )

    member Write :
            buffer : byte[] *
            offset : int *
            count : int -> unit

Parameters

buffer (array<Byte>[]()[][])
  Data buffer.

offset (Int32)
  Offset int the buffer.

count (Int32)
  Number of bytes available in the buffer. Data boundary must n * BlockSize.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when buffer is null reference.
ArgumentOutOfRangeException | Is raised when any of the argument value is out of allowed range.

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