I assume pulse audio is defined already for OLPC and moblin. If
so, looks good.
--greg.


On Oct 30, 2009, at 12:48 PM, Daniel Yek wrote:


Modified by: d...@real.com
Date: 10/30/2009
Project: RealPlayer for Netbook

Synopsis: Making PulseAudio the default when HELIX_FEATURE_PULSEAUDIO is
defined on Linux.

Overview:
OSS emulation by ALSA had been removed in recent Linux distributions.

PulseAudio is already everywhere
(with or without PulseAudio hook for ALSA enabled --
/etc/alsa/pulse-default.conf --
to redirect audio data writing to ALSA API to PulseAudio.)

PulseAudio is also designated as the desktop Sound Subsystem,
in charge of handling udev device notification for the system.

This change makes PulseAudio the default
when HELIX_FEATURE_PULSEAUDIO is defined on Linux.

With this change and
with the use of the new SYSTEM_ID proposed in the following CR:
http://lists.helixcommunity.org/pipermail/ribosome-dev/2009-October/002671.html

PulseAudio support will be present in Helix client builds.


Files Modified:
audio/device/hxaudev.cpp - Made PulseAudio default, then ALSA.

Image Size and Heap Use impact (Client -Only):
None.

Platforms and Profiles Affected:
Linux

Distribution Libraries Affected:
None.

Distribution library impact and planned action:
None.

Platforms and Profiles Build Verified:
Profile: helix_client_moblin
Platform: linux-2.2-libc6-gcc32-i586

Platforms and Profiles Functionality verified:
Profile: helix_client_moblin
Platform: linux-2.2-libc6-gcc32-i586

Branch: 310Atlas.

Copyright assignment: I am a RealNetworks employee.


--
Daniel Yek.

Index: audio/device/hxaudev.cpp
===================================================================
RCS file: /cvsroot/audio/device/hxaudev.cpp,v
retrieving revision 1.34.2.8
diff -u -w -r1.34.2.8 hxaudev.cpp
--- audio/device/hxaudev.cpp    24 Jul 2009 16:36:35 -0000      1.34.2.8
+++ audio/device/hxaudev.cpp    30 Oct 2009 18:23:14 -0000
@@ -261,7 +261,9 @@
#endif

#if defined(_LINUX) ||  defined(_FREEBSD) || defined(_NETBSD)
-# if defined(HELIX_FEATURE_OLPC) || defined(HELIX_CONFIG_MOBLIN)
+# if defined(HELIX_FEATURE_PULSEAUDIO)
+    UINT16 nSoundDriver = kPulseAudio;
+#elif defined(HELIX_FEATURE_ALSA)
    UINT16 nSoundDriver = kALSA;
#elif defined(ANDROID)
    UINT16 nSoundDriver = kAndroidAudio;
_______________________________________________
Audio-dev mailing list
Audio-dev@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/audio-dev


_______________________________________________
Audio-dev mailing list
Audio-dev@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/audio-dev

Reply via email to