summaryrefslogtreecommitdiffhomepage
path: root/src/lingot-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lingot-core.c')
-rw-r--r--src/lingot-core.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lingot-core.c b/src/lingot-core.c
index d0cdaec..ef101ae 100644
--- a/src/lingot-core.c
+++ b/src/lingot-core.c
@@ -23,7 +23,6 @@
#include <stdio.h>
#include <math.h>
-#include <sys/soundcard.h>
#include <string.h>
#include <errno.h>
@@ -54,7 +53,7 @@ LingotCore* lingot_core_new(LingotConfig* conf) {
# endif
# else
// creates an audio handler.
- core->audio = lingot_audio_new(1, core->conf->sample_rate, SAMPLE_FORMAT,
+ core->audio = lingot_audio_new(1, core->conf->sample_rate,
core->conf->audio_dev);
# endif