commit 5202a52d10df89eac84afb4ed9f2a5d784438b47 parent 42a46b73e342d9e609995da708cbbee579da7764 Author: z3bra <contactatz3bradotorg> Date: Tue Nov 1 22:57:24 +0100 Make use of audio default settings Remove useless pcm Diffstat:
ratox.c | | | 1 | - |
diff --git a/ratox.c b/ratox.c @@ -1206,7 +1206,6 @@ toxinit(void) eprintf("Core : ToxAV > Initialization failed\n"); toxavconfig = av_DefaultSettings; - pcm = AUDIOFRAME * AUDIOSAMPLERATE / 1000; framesize = (AUDIOSAMPLERATE * AUDIOFRAME * AUDIOCHANNELS) / 1000; tox_callback_connection_status(tox, cbconnstatus, NULL);