BASS.NET API for the Un4seen BASS Audio LibraryBroadCastSendData Method BASS.NET API for the Un4seen BASS Audio Library
Sends encoded sample data manually to the broadcast 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

public bool 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: Boolean
on success, else (see LastError or LastErrorMessage for details).
Remarks

If an error occures the connection will be closed automatically (using Disconnect). In this case the AutoReconnect feature (if enabled) will try a reconnect after ReconnectTimeout.
See Also

Reference