make sure shouldStop for injector defaults to false

This commit is contained in:
Stephen Birarda 2014-05-08 11:12:16 -07:00
parent f78c81e073
commit a8a53e35dd

View file

@ -22,14 +22,18 @@
#include "AudioInjector.h"
AudioInjector::AudioInjector(QObject* parent) :
QObject(parent)
QObject(parent),
_sound(NULL),
_options(),
_shouldStop(false)
{
}
AudioInjector::AudioInjector(Sound* sound, const AudioInjectorOptions& injectorOptions) :
_sound(sound),
_options(injectorOptions)
_options(injectorOptions),
_shouldStop(false)
{
}