Whoops, I nuked the reference counter initilisation by accident. in r3440.

Originally committed to SVN as r3441.
This commit is contained in:
Amar Takhar 2009-08-25 05:31:20 +00:00
parent 3eff6459cb
commit 28a79d49ac
2 changed files with 3 additions and 4 deletions

View File

@ -49,6 +49,8 @@
//#define PORTAUDIO_DEBUG //#define PORTAUDIO_DEBUG
// Init reference counter
int PortAudioPlayer::pa_refcount = 0;
/// @brief Constructor /// @brief Constructor
PortAudioPlayer::PortAudioPlayer() { PortAudioPlayer::PortAudioPlayer() {

View File

@ -53,7 +53,7 @@ extern "C" {
class PortAudioPlayer : public AudioPlayer { class PortAudioPlayer : public AudioPlayer {
private: private:
/// Initialisation reference counter. /// PortAudio initilisation reference counter.
static int pa_refcount; static int pa_refcount;
/// Current volume level. /// Current volume level.
@ -83,9 +83,6 @@ private:
static void paStreamFinishedCallback(void *userData); static void paStreamFinishedCallback(void *userData);
/// Reference counter
int PortAudioPlayer::pa_refcount = 0;
public: public:
PortAudioPlayer(); PortAudioPlayer();
~PortAudioPlayer(); ~PortAudioPlayer();