mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 07:43:57 +02:00
default to max volume, add a bool flag for loopback
This commit is contained in:
parent
534010347b
commit
8681e66ed3
2 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
|
|
|
@ -42,6 +42,7 @@ private:
|
|||
glm::vec3 _position;
|
||||
glm::quat _orientation;
|
||||
float _volume;
|
||||
bool _shouldLoopback;
|
||||
|
||||
private slots:
|
||||
void startDownload();
|
||||
|
|
Loading…
Reference in a new issue