Пример #1
0
 void seek(int pos)
 {
   // we stop and restart it because otherwise the buffer finishes
   // playing first and the seek isn't quite accurate
   alogg_stop_ogg(tune);
   play_from(pos);
 }
Пример #2
0
void MYSTATICOGG::seek(int pos)
{
	AGS::Engine::MutexLock _lock;
    if (psp_audio_multithreaded)
		_lock.Acquire(_mutex);
    // we stop and restart it because otherwise the buffer finishes
    // playing first and the seek isn't quite accurate
    alogg_stop_ogg(tune);
    play_from(pos);
}
Пример #3
0
int MYSTATICOGG::play() {
    _playing = true;
    return play_from(0);
}
Пример #4
0
 int play() {
   return play_from(0);
 }