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

Group audio not being reset

This commit is contained in:
Daniel Hrabovcak 2015-05-25 11:58:54 -04:00
parent 30b3f54202
commit fb707fe1f1

View File

@ -759,7 +759,7 @@ void Core::setAvatar(const QByteArray& data)
pic.loadFromData(data);
Settings::getInstance().saveAvatar(pic, getSelfId().toString());
emit selfAvatarChanged(pic);
AvatarBroadcaster::setAvatar(data);
AvatarBroadcaster::enableAutoBroadcast();
}
@ -1325,7 +1325,13 @@ void Core::setNospam(uint32_t nospam)
void Core::resetCallSources()
{
for (ToxGroupCall& call : groupCalls)
{
for (QPair<int, ALuint> alSources : alSources)
{
alDeleteSources(1, alSources.second);
}
call.alSources.clear();
}
for (ToxCall& call : calls)
{