The player call this function when the audio decoding for the current media has completed.
|
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 |
Description |
|
0 |
command unsuccessful |
|
1 |
command successful |
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.
|
Copyright (c) Quinnware 2007. All rights reserved.
|