From d0d9fba86ef81ebd32f4314d3779c62ed708b634 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Wed, 5 Mar 2008 19:50:24 +0000 Subject: made alsa specific to linux. other *nix platforms will use oss --- default.bam | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/default.bam b/default.bam index 4f78b5fe..67f70a9a 100644 --- a/default.bam +++ b/default.bam @@ -219,7 +219,13 @@ function build(settings) else glfw_platform = "x11" pa_platform = "unix" - pa_hostapi = "alsa" -- todo, change me + + if platform == "linux" then + pa_hostapi = "alsa" + else + pa_hostapi = "oss" + end + settings.linker.libs:add("pthread") end elseif family == "windows" then -- cgit 1.4.1