Assembly: Bass.Net (in Bass.Net.dll) Version: 22.214.171.124
public override int SendData( IntPtr buffer, int length )
Public Overrides Function SendData ( buffer As IntPtr, length As Integer ) As Integer
- Type: SystemIntPtr
The pointer to the buffer data.
- Type: SystemInt32
The length of the buffer data.
Return ValueType: Int32
The number of bytes send to the server (or -1, if no bytes could be send (see LastError or LastErrorMessage for details).
IMPORTANT NOTE: This implementation always return length! As the underlying EncoderWMA automatically sends data to the encoder there is NO need to call this method at all! This because the EncoderWMA will already set up an automatic DSP system whichs feeds the encoder with sample data and already sends the data to the server automatically.
If you want to get notified about any errors when sending data to the encoder you might use the WMA_Notify property.