mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 20:06:02 +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),
|
_currentSendPosition(0),
|
||||||
_sourceURL(sampleURL),
|
_sourceURL(sampleURL),
|
||||||
_position(0,0,0),
|
_position(0,0,0),
|
||||||
_orientation()
|
_orientation(),
|
||||||
|
_volume(1.0f),
|
||||||
|
_shouldLoopback(false)
|
||||||
{
|
{
|
||||||
// we want to live on our own thread
|
// we want to live on our own thread
|
||||||
moveToThread(&_thread);
|
moveToThread(&_thread);
|
||||||
|
|
|
@ -42,6 +42,7 @@ private:
|
||||||
glm::vec3 _position;
|
glm::vec3 _position;
|
||||||
glm::quat _orientation;
|
glm::quat _orientation;
|
||||||
float _volume;
|
float _volume;
|
||||||
|
bool _shouldLoopback;
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void startDownload();
|
void startDownload();
|
||||||
|
|
Loading…
Reference in a new issue