Adds data to a "push buffered" user file stream's buffer.
DWORD BASS_StreamPutFileData( HSTREAM handle, void *buffer, DWORD length );
|handle||The stream handle.|
|buffer||Pointer to the file data.|
|length||The amount of data in bytes, or BASS_FILEDATA_END to end the file.|
|BASS_ERROR_HANDLE||handle is not valid.|
|BASS_ERROR_NOTAVAIL||The stream is not using the STREAMFILE_BUFFERPUSH file system.|
|BASS_ERROR_ENDED||The file has ended.|
File data should be provided at a rate sufficent to sustain playback. If there is insufficient file data, and the playback buffer is subsequently exhausted, BASS will automatically stall playback of the stream, until more data is available. A BASS_SYNC_STALL sync can be set via BASS_ChannelSetSync, to be triggered upon playback stalling or resuming.