From a6024b85eaed861ca12f45c4ee698fe16bfaee89 Mon Sep 17 00:00:00 2001 From: Nils Fenner Date: Sun, 3 Jan 2016 13:12:29 +0100 Subject: [PATCH] initialize a subscribed audio source with "master" volume instead of "max." --- src/audio/audio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/audio.cpp b/src/audio/audio.cpp index 2ba01dfb2..dd4be5432 100644 --- a/src/audio/audio.cpp +++ b/src/audio/audio.cpp @@ -710,7 +710,7 @@ void Audio::subscribeOutput(SID& sid) alGenSources(1, &sid); assert(sid); - alSourcef(sid, AL_GAIN, 1.f); + alSourcef(sid, AL_GAIN, d->outputVolume); d->outSources << sid; qDebug() << "Audio source" << sid << "created. Sources active:" << d->outSources.size();