1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

initialize a subscribed audio source with "master" volume instead of "max."

This commit is contained in:
Nils Fenner 2016-01-03 13:12:29 +01:00 committed by tux3
parent b3926c8904
commit a6024b85ea
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -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();