forked from mia/Aegisub
Whoops, I nuked the reference counter initilisation by accident. in r3440.
Originally committed to SVN as r3441.
This commit is contained in:
parent
3eff6459cb
commit
28a79d49ac
2 changed files with 3 additions and 4 deletions
|
@ -49,6 +49,8 @@
|
|||
|
||||
//#define PORTAUDIO_DEBUG
|
||||
|
||||
// Init reference counter
|
||||
int PortAudioPlayer::pa_refcount = 0;
|
||||
|
||||
/// @brief Constructor
|
||||
PortAudioPlayer::PortAudioPlayer() {
|
||||
|
|
|
@ -53,7 +53,7 @@ extern "C" {
|
|||
class PortAudioPlayer : public AudioPlayer {
|
||||
private:
|
||||
|
||||
/// Initialisation reference counter.
|
||||
/// PortAudio initilisation reference counter.
|
||||
static int pa_refcount;
|
||||
|
||||
/// Current volume level.
|
||||
|
@ -83,9 +83,6 @@ private:
|
|||
|
||||
static void paStreamFinishedCallback(void *userData);
|
||||
|
||||
/// Reference counter
|
||||
int PortAudioPlayer::pa_refcount = 0;
|
||||
|
||||
public:
|
||||
PortAudioPlayer();
|
||||
~PortAudioPlayer();
|
||||
|
|
Loading…
Reference in a new issue