From b615946989b01ee92a5ce431474b3f144584c292 Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Sat, 1 May 2010 20:03:36 +0200 Subject: [PATCH] Default sound card for FreeBSD --- src/conffile.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/conffile.c b/src/conffile.c index cc04cb3c..589380a8 100644 --- a/src/conffile.c +++ b/src/conffile.c @@ -68,7 +68,11 @@ static cfg_opt_t sec_library[] = static cfg_opt_t sec_audio[] = { CFG_STR("nickname", "Computer", CFGF_NONE), +#ifdef __linux__ CFG_STR("card", "default", CFGF_NONE), +#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) + CFG_STR("card", "/dev/dsp", CFGF_NONE), +#endif CFG_END() };