diff options
author | Yotam Barnoy | 2010-05-24 18:20:16 +0000 |
---|---|---|
committer | Yotam Barnoy | 2010-05-24 18:20:16 +0000 |
commit | 1caf98700b7319719f6db062f7409ea9dc9caa57 (patch) | |
tree | 7f054ead9a7b43188b8f3820aa2725d22f1a5438 /backends/platform/psp/audio.h | |
parent | f5ec3a3f741fbcfcd8e14661fff0558d45556224 (diff) | |
download | scummvm-rg350-1caf98700b7319719f6db062f7409ea9dc9caa57.tar.gz scummvm-rg350-1caf98700b7319719f6db062f7409ea9dc9caa57.tar.bz2 scummvm-rg350-1caf98700b7319719f6db062f7409ea9dc9caa57.zip |
PSP: to fix the audio, I cleaned up the audio thread and changed the thread priorities.
svn-id: r49200
Diffstat (limited to 'backends/platform/psp/audio.h')
-rw-r--r-- | backends/platform/psp/audio.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/backends/platform/psp/audio.h b/backends/platform/psp/audio.h index 97e2391319..603f8f6bfc 100644 --- a/backends/platform/psp/audio.h +++ b/backends/platform/psp/audio.h @@ -35,8 +35,8 @@ public: typedef void (* callbackFunc)(void *userData, byte *samples, int len); PspAudio() : _pspChannel(0), _numOfChannels(0), _numOfSamples(0), _callback(0), - _bufferToPlay(0), _bufferToFill(0), _emptyBuffers(NUM_BUFFERS), - _init(false), _paused(true), _stoppedPlayingOnceFlag(true) { + _bufferToPlay(0), _bufferToFill(0), + _init(false), _paused(true) { for (int i=0; i<NUM_BUFFERS; i++) _buffers[i] = 0; } @@ -62,10 +62,8 @@ private: int _bufferToPlay; // the next buffer to output int _bufferToFill; int _bufferSize; - int _emptyBuffers; bool _init; // flag for initialization bool _paused; - bool _stoppedPlayingOnceFlag; // used to make sure we know when the playing stopped }; #endif /* PSP_AUDIO_H */ |