From 5202a52d10df89eac84afb4ed9f2a5d784438b47 Mon Sep 17 00:00:00 2001 From: z3bra Date: Tue, 1 Nov 2016 22:57:24 +0100 Subject: Make use of audio default settings Remove useless pcm --- ratox.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ratox.c b/ratox.c index f2aaf6a..e2486d9 100644 --- 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); -- cgit v1.2.3