about summary refs log tree commit diff
path: root/default.bam
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-05 19:50:24 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-05 19:50:24 +0000
commitd0d9fba86ef81ebd32f4314d3779c62ed708b634 (patch)
tree3bbd3ab77cc03ed40ea9e5cb804763d4327e5acc /default.bam
parent23ffe1ff6577adfce7980f961978ed3e8de59ed6 (diff)
downloadzcatch-d0d9fba86ef81ebd32f4314d3779c62ed708b634.tar.gz
zcatch-d0d9fba86ef81ebd32f4314d3779c62ed708b634.zip
made alsa specific to linux. other *nix platforms will use oss
Diffstat (limited to 'default.bam')
-rw-r--r--default.bam8
1 files changed, 7 insertions, 1 deletions
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