diff options
author | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2013-08-20 12:19:21 +0530 |
---|---|---|
committer | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2013-08-20 12:19:21 +0530 |
commit | a775f55b9f607c0a9ae5aa13b8af23e5285f8811 (patch) | |
tree | 9519f0688935b4b5a2ee0664838b0e7378dbccac /data | |
parent | c903053e13d9a4739ffed8750a08ed8b26764545 (diff) |
Add start-pulseaudio-android to the build
The script needs a bit of cleanup (port selection shouldn't be here),
but it's convenient for testing.
Diffstat (limited to 'data')
-rw-r--r-- | data/Android.mk | 7 | ||||
-rwxr-xr-x | data/pulseaudio/start-pulseaudio-android | 6 |
2 files changed, 10 insertions, 3 deletions
diff --git a/data/Android.mk b/data/Android.mk index 0917f30..d8f7ed1 100644 --- a/data/Android.mk +++ b/data/Android.mk @@ -21,6 +21,13 @@ LOCAL_MODULE_PATH := $(pulseconf_dir) LOCAL_SRC_FILES := pulseaudio/system.pa include $(BUILD_PREBUILT) +include $(CLEAR_VARS) +LOCAL_MODULE := start-pulseaudio-android +LOCAL_MODULE_CLASS := EXECUTABLES +LOCAL_MODULE_TAGS := eng debug +LOCAL_SRC_FILES := pulseaudio/start-pulseaudio-android +include $(BUILD_PREBUILT) + # ALSA config files ifneq ($(filter tuna,$(TARGET_DEVICE)),) diff --git a/data/pulseaudio/start-pulseaudio-android b/data/pulseaudio/start-pulseaudio-android index 4a95171..8de856a 100755 --- a/data/pulseaudio/start-pulseaudio-android +++ b/data/pulseaudio/start-pulseaudio-android @@ -24,8 +24,8 @@ mkdir -p /data/pulse/run/pulse export LD_LIBRARY_PATH=/system/lib/pulse-4.0/modules -# AAAARGH HACK ALSA DEVICES DON'T WORK IMMEDIATELY AT BOOT -sleep 5 +# AAAARGH HACK SOME ALSA DEVICES DON'T WORK IMMEDIATELY AT BOOT +# sleep 5 -(sleep 3 && pactl set-sink-port 0 Handsfree) & +(sleep 3 && pactl set-sink-port 0 Speaker) & logwrapper /system/bin/pulseaudio --system ${@} |