The plug-in can call this function to cancel an OutputDrain request in progress.
|
Parameters |
Description |
|
flags |
[in] no flags currently defined |
|
Return Values |
Description |
|
0 |
command unsuccessful |
|
1 |
command successful |
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.
|
Copyright (c) Quinnware 2007. All rights reserved.
|