commit 5202a52d10df89eac84afb4ed9f2a5d784438b47
parent 42a46b73e342d9e609995da708cbbee579da7764
Author: z3bra <contactatz3bradotorg>
Date: Tue, 1 Nov 2016 22:57:24 +0100
Make use of audio default settings
Remove useless pcm
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
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);