summaryrefslogtreecommitdiffhomepage
path: root/src/lingot-core.c
diff options
context:
space:
mode:
authorpp <pp@455248ca-bdda-0310-9134-f4ebb693071a>2008-03-12 15:16:54 +0000
committerpp <pp@455248ca-bdda-0310-9134-f4ebb693071a>2008-03-12 15:16:54 +0000
commitd3a29ffe90c63d508e49a6c89ccdf636cc9c453d (patch)
treec3f75d67de38054dea8bf448f14e2c8ff0757954 /src/lingot-core.c
parent4a2b70d02706c2343fdb31e8c6f50fa20b422b88 (diff)
- add PortAudio sound backend
- audio format argument removed from lingot_audio_new(), as it was specific to OSS backend - DIE macro, so on Windows error message will be displayed in a dialog box instead of being lost git-svn-id: https://lampka.siedziba.pl:790/svn/repos/lingot-win32@292 455248ca-bdda-0310-9134-f4ebb693071a
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