BASS.NET API for the Un4seen BASS Audio LibraryIStreamingServerSendData 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.12.0
Syntax

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).
Remarks

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

Reference