Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
Index: Makefile
===================================================================
--- Makefile	(revision 209)
+++ Makefile	(revision 210)
@@ -175,6 +175,14 @@
 	   done ; \
 	   rm -f 98-maemo.conf ; \
 	 )
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK358X_GLIBC)),)
+	@mv $(ALSA_PLUGINS_PKG)/etc/alsa/conf.d/99-pulseaudio-default.conf.example \
+	    $(ALSA_PLUGINS_PKG)/usr/share/alsa/pulse-alsa.conf
+	@cp -a $(CURDIR)/conf/pulse.conf $(ALSA_PLUGINS_PKG)/usr/share/alsa/alsa.conf.d/99-pulse.conf
+	@( cd $(ALSA_PLUGINS_PKG)/etc/alsa/conf.d ; \
+	   ln -sf ../../../usr/share/alsa/alsa.conf.d/99-pulse.conf . ; \
+	 )
+endif
 	# ======= Install Documentation =======
 	@if [ -d $(ALSA_PLUGINS_PKG)/usr/share/man ]; then \
 	  ( cd $(ALSA_PLUGINS_PKG)/usr/share/man ; \
Index: conf/pulse.conf
===================================================================
--- conf/pulse.conf	(nonexistent)
+++ conf/pulse.conf	(revision 210)
@@ -0,0 +1,18 @@
+
+# PulseAudio alsa plugin configuration file to set the pulseaudio plugin as
+# default output for applications using alsa when pulseaudio is running.
+
+hook_func.pulse_load_if_running {
+  lib "libasound_module_conf_pulse.so"
+  func "conf_pulse_hook_load_if_running"
+}
+
+@hooks [
+  {
+    func pulse_load_if_running
+    files [
+      "/usr/share/alsa/pulse-alsa.conf"
+    ]
+    errors false
+  }
+]