From d3a29ffe90c63d508e49a6c89ccdf636cc9c453d Mon Sep 17 00:00:00 2001 From: pp Date: Wed, 12 Mar 2008 15:16:54 +0000 Subject: - 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 --- src/lingot-core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lingot-core.c') 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 #include -#include #include #include @@ -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 -- cgit v1.2.3