See Also
You are here: Player Plug-ins > Definitions > Input Plug-ins > QCDModInitIn > QCDModInitIn::toPlayer > OutputDrain
QMP Developer Reference Guide
ContentsIndexHome
PreviousUpNext
OutputDrain

The plug-in can call this function to know when all data written to OutputWrite has been rendered by the output plug-in.

Parameters
Parameters 
Description 
flags 
[in] no flags currently defined 
Return Values
Return Values 
Description 
draining of output failed or did not complete (was cancelled) 
draining of output completed 
Remarks

This is a blocking call. The call will only return once the output plug-in has completed the drain. For playback plug-ins this function will return after all written data has been played. 

On completion of decoding the audio, the plug-in must call this function before calling PlayDone. This ensures that the player will progress to the next track after the current track truly completes.

See Also
Copyright (c) Quinnware 2007. All rights reserved.