int StopSceMp3(int channel) { if ((channel<0)||(channel>1)) { return PSPAALIB_ERROR_SCEMP3_INVALID_CHANNEL; } if (!streamsSceMp3[channel].initialized) { return PSPAALIB_ERROR_SCEMP3_UNINITIALIZED_CHANNEL; } RewindSceMp3(channel); streamsSceMp3[channel].paused=TRUE; streamsSceMp3[channel].stopReason=PSPAALIB_STOP_ON_REQUEST; return PSPAALIB_SUCCESS; }
int AalibRewind(int channel) { if ((PSPAALIB_CHANNEL_WAV_1<=channel)&&(channel<=PSPAALIB_CHANNEL_WAV_32)) { return RewindWav(channel-PSPAALIB_CHANNEL_WAV_1); } if ((PSPAALIB_CHANNEL_OGG_1<=channel)&&(channel<=PSPAALIB_CHANNEL_OGG_10)) { return RewindOgg(channel-PSPAALIB_CHANNEL_OGG_1); } if ((PSPAALIB_CHANNEL_SCEMP3_1<=channel)&&(channel<=PSPAALIB_CHANNEL_SCEMP3_2)) { return RewindSceMp3(channel-PSPAALIB_CHANNEL_SCEMP3_1); } if ((PSPAALIB_CHANNEL_AT3_1<=channel)&&(channel<=PSPAALIB_CHANNEL_AT3_2)) { return RewindAt3(channel-PSPAALIB_CHANNEL_AT3_1); } return PSPAALIB_ERROR_INVALID_CHANNEL; }