int MYOGG::play() { alogg_play_oggstream(stream, MP3CHUNKSIZE, (vol > 230) ? vol : vol + 20, panning); if (!psp_audio_multithreaded) poll(); _playing = true; return 1; }
void restart() { if (stream != NULL) { // need to reset file pointer for this to work quit("Attempted to restart OGG not currently supported"); alogg_play_oggstream(stream, MP3CHUNKSIZE, vol, panning); done = 0; paused = 0; poll(); } }
int play() { alogg_play_oggstream(stream, MP3CHUNKSIZE, (vol > 230) ? vol : vol + 20, panning); poll(); return 1; }
int play_ogg_file(OGGFILE *ogg, int buflen, int vol, int pan) { return alogg_play_oggstream(ogg->s, buflen, vol, pan); }