See Also
You are here: Player Plug-ins > Definitions > Playback Plug-ins > QCDModInitPlay2 > QCDModInitPlay2::toModule > Stop
QMP Developer Reference Guide
ContentsIndexHome
PreviousUpNext
Stop

The player call this function when the audio decoding for the current media has completed.

Parameters
Parameters 
Description 
flags 
[in] the following flags are defined:
STOPFLAG_FORCESTOP: stop occurring due to user action (player will enter stopped state)
STOPFLAG_PLAYDONE: stop occurring due to current track completion
STOPFLAG_SHUTDOWN: stop occurring due to player shutdown
STOPFLAG_PLAYSKIP: stop occurring due to current track skip
STOPFLAG_ALLDONE: stop occurring due to playlist completion (player will enter stopped state) 
Return Values
Return Values 
Description 
command unsuccessful 
command successful 
Remarks

The normal action is to stop playback and enter the stopped state. The reason for the stop action is indicated by the flags parameter. If the reason indicates that playback is not ending (as STOPFLAG_PLAYSKIP, or STOPFLAG_PLAYDONE indicate) the module may choose to stay active. However the module should expect the next call to be to its Open function.

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