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:
parent
b3926c8904
commit
a6024b85ea
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user