summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
authorz3bra <contactatz3bradotorg>2016-11-01 22:57:24 +0100
committerz3bra <contactatz3bradotorg>2016-11-08 16:47:51 +0100
commit5202a52d10df89eac84afb4ed9f2a5d784438b47 (patch)
tree5f903a1fed5c65ccab91d763a9305afa96f2e1fb /ratox.c
parent42a46b73e342d9e609995da708cbbee579da7764 (diff)
Make use of audio default settings
Remove useless pcm
Diffstat (limited to 'ratox.c')
-rw-r--r--ratox.c1
1 files changed, 0 insertions, 1 deletions
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);