1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-16 02:53:03 +01:00

Use two channels for conference audio

This commit is contained in:
jfreegman 2020-11-17 16:31:17 -05:00
parent 7e1e410307
commit f882fdf608
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -1159,7 +1159,7 @@ static ToxWindow *new_conference_chat(uint32_t conferencenum)
#define CONFAV_SAMPLE_RATE 48000
#define CONFAV_FRAME_DURATION 20
#define CONFAV_AUDIO_CHANNELS 1
#define CONFAV_AUDIO_CHANNELS 2
#define CONFAV_SAMPLES_PER_FRAME (CONFAV_SAMPLE_RATE * CONFAV_FRAME_DURATION / 1000)
void audio_conference_callback(void *tox, uint32_t conferencenum, uint32_t peernum, const int16_t *pcm,