BASS.NET API for the Un4seen BASS Audio Library

StreamingServerSendData Method

BASS.NET API for the Un4seen BASS Audio Library
Sends encoded sample data (manually) to the streaming server (e.g. the data as received in an own ENCODEPROC).

Namespace:  Un4seen.Bass.Misc
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

public abstract int SendData(
	IntPtr buffer,
	int length
)

Parameters

buffer
Type: SystemIntPtr
The pointer to the encoded buffer data (as given by to ENCODEPROC callback).
length
Type: SystemInt32
The length of the buffer data (as given by to ENCODEPROC callback).

Return Value

Type: Int32
The number of bytes send to the server (or -1, if no bytes could be send (see LastError or LastErrorMessage for details).

Implements

IStreamingServerSendData(IntPtr, Int32)
Remarks

If an error occures the connection will be closed automatically (using Disconnect).
See Also

Reference