default to max volume, add a bool flag for loopback

This commit is contained in:
Stephen Birarda 2013-12-19 15:30:33 -08:00
parent 534010347b
commit 8681e66ed3
2 changed files with 4 additions and 1 deletions

View file

@ -28,7 +28,9 @@ AudioInjector::AudioInjector(const QUrl& sampleURL) :
_currentSendPosition(0),
_sourceURL(sampleURL),
_position(0,0,0),
_orientation()
_orientation(),
_volume(1.0f),
_shouldLoopback(false)
{
// we want to live on our own thread
moveToThread(&_thread);

View file

@ -42,6 +42,7 @@ private:
glm::vec3 _position;
glm::quat _orientation;
float _volume;
bool _shouldLoopback;
private slots:
void startDownload();