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

The plug-in can call this function to cancel an OutputDrain request in progress.

Parameters
Parameters 
Description 
flags 
[in] no flags currently defined 
Return Values
Return Values 
Description 
command unsuccessful 
command successful 
Remarks

Since OutputDrain is a blocking call, it is possible to get a new command from the player to seek to a new playback position. In this case you must cancel the current drain. Call this function to cancel the drain. 

This function assumes the decoding part of the plug-in is implemented on a separate thread from the thread that calls the plug-in.

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