From 69e9daff39c51f1ab021c2134ad0004971b32124 Mon Sep 17 00:00:00 2001 From: codeworkx Date: Sat, 17 Dec 2011 00:03:32 +0100 Subject: [PATCH] audio: soundbooster config file Change-Id: Ice36cfa2facfd02faf16ecc20a259b5482d81d1c --- common.mk | 6 ++++-- etc/audio/soundbooster.txt | 4 ++++ etc/init.d/10soundbooster | 7 +++++++ 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 etc/audio/soundbooster.txt create mode 100644 etc/init.d/10soundbooster diff --git a/common.mk b/common.mk index 8a04b02..5b169ff 100644 --- a/common.mk +++ b/common.mk @@ -50,7 +50,7 @@ PRODUCT_PACKAGES := \ libexifa \ libjpega \ com.android.future.usb.accessory \ - bdaddr_read + bdaddr_read # These are the hardware-specific configuration files PRODUCT_COPY_FILES := \ @@ -67,7 +67,8 @@ PRODUCT_COPY_FILES += \ device/samsung/c1-common/lpm.rc:root/lpm.rc \ device/samsung/c1-common/init.smdkc210.rc:root/init.smdkc210.rc \ device/samsung/c1-common/init.smdkv310.rc:root/init.smdkv310.rc \ - device/samsung/c1-common/ueventd.smdkv310.rc:root/ueventd.smdkv310.rc + device/samsung/c1-common/ueventd.smdkv310.rc:root/ueventd.smdkv310.rc \ + device/samsung/c1-common/etc/init.d/10soundbooster:system/etc/init.d/10soundbooster # mDNIe PRODUCT_COPY_FILES += \ @@ -90,6 +91,7 @@ PRODUCT_COPY_FILES += \ # Configuration files for audio PRODUCT_COPY_FILES += \ + device/samsung/c1-common/etc/audio/soundbooster.txt:system/etc/audio/soundbooster.txt \ device/samsung/c1-common/etc/audio/LVVEFS_Rx_Configuration.txt:system/etc/audio/LVVEFS_Rx_Configuration.txt \ device/samsung/c1-common/etc/audio/LVVEFS_Tx_Configuration.txt:system/etc/audio/LVVEFS_Tx_Configuration.txt \ device/samsung/c1-common/etc/audio/Rx_ControlParams_EARPIECE_WIDEBAND.txt:system/etc/audio/Rx_ControlParams_EARPIECE_WIDEBAND.txt \ diff --git a/etc/audio/soundbooster.txt b/etc/audio/soundbooster.txt new file mode 100644 index 0000000..42a6ad9 --- /dev/null +++ b/etc/audio/soundbooster.txt @@ -0,0 +1,4 @@ +H,0 +G,6 +C,2 +S,2 diff --git a/etc/init.d/10soundbooster b/etc/init.d/10soundbooster new file mode 100644 index 0000000..1522582 --- /dev/null +++ b/etc/init.d/10soundbooster @@ -0,0 +1,7 @@ +#!/system/bin/sh +# copy soundbooster config if not exists + +if [ ! -e /data/soundbooster.txt ]; +then + cp /system/etc/audio/soundbooster.txt /data/soundbooster.txt +fi;