diff --git a/src/core/coreav.cpp b/src/core/coreav.cpp index a1fea6306..6757b36a2 100644 --- a/src/core/coreav.cpp +++ b/src/core/coreav.cpp @@ -539,7 +539,7 @@ void CoreAV::groupCallCallback(void* tox, int group, int peer, const int16_t* da call.addPeer(peer); } - audio.playAudioBuffer(call.getPeers()[peer], data, samples, channels, sample_rate); + audio.playAudioBuffer(call.getAlSource(peer), data, samples, channels, sample_rate); } #endif