[Helix-client-dev] CR/CN: Use ALSA sound on Linux
Jamie Gordon <[email protected]> Fri, 16 Mar 2012 14:36:27 -0700
| Newsgroups | gmane.comp.multimedia.helix.devel |
|---|---|
| Message-ID | <[email protected]> |
Fixed to actually use ALSA on Linux when HELIX_FEATURE_ALSA is defined,
instead of just compiling and ignoring it!
Index: hxaudev.cpp
===================================================================
RCS file: /cvsroot/audio/device/hxaudev.cpp,v
retrieving revision 1.40
diff -u -w -r1.40 hxaudev.cpp
--- hxaudev.cpp 14 Jun 2011 02:02:08 -0000 1.40
+++ hxaudev.cpp 16 Mar 2012 20:57:01 -0000
@@ -256,7 +256,7 @@
#endif
#if defined(_LINUX) || defined(_FREEBSD) || defined(_NETBSD)
-# if defined(HELIX_FEATURE_OLPC) || defined(HELIX_CONFIG_MOBLIN)
+# if defined(HELIX_FEATURE_OLPC) || defined(HELIX_CONFIG_MOBLIN) ||
defined(HELIX_FEATURE_ALSA)
UINT16 nSoundDriver = kALSA;
#elif defined(ANDROID)
UINT16 nSoundDriver = kAndroidAudio;