1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-01 13:26:44 +02:00

Fix cross-client audio issue

This commit is contained in:
Jfreegman
2016-04-05 00:49:46 -04:00
parent e73ac9b6a4
commit 4e0e322e32
4 changed files with 13 additions and 11 deletions

View File

@ -580,7 +580,6 @@ int sound_notify2(ToxWindow* self, Notification notif, uint64_t flags, int id)
alDeleteSources(1, &actives[id].source);
alDeleteBuffers(1,&actives[id].buffer);
alGenSources(1, &actives[id].source);
alGenBuffers(1, &actives[id].buffer);
actives[id].buffer = alutCreateBufferFromFile(Control.sounds[notif]);