summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormark <mcampbellsmith@gmail.com>2013-05-20 22:51:57 +1000
committermark <mcampbellsmith@gmail.com>2013-05-20 22:51:57 +1000
commit0e760a3ccbcb7ca65432e341bb9f5ac802a2c95e (patch)
tree8d31b5bd670327d036516e66f204379645307001
parent7479f04ccfa6e5b42d0139e11f287e81ec2053e4 (diff)
downloaddevice_samsung_smdk4412-common-0e760a3ccbcb7ca65432e341bb9f5ac802a2c95e.zip
device_samsung_smdk4412-common-0e760a3ccbcb7ca65432e341bb9f5ac802a2c95e.tar.gz
device_samsung_smdk4412-common-0e760a3ccbcb7ca65432e341bb9f5ac802a2c95e.tar.bz2
Add input device AUDIO_DEVICE_IN_BACK_MIC
Increase audio quality of 1080p to 196kbps stereo Change-Id: I8be36fa6ed91d8328629356e67b16d5c09ff806a
-rw-r--r--configs/audio_policy.conf4
-rw-r--r--configs/media_profiles.xml4
2 files changed, 4 insertions, 4 deletions
diff --git a/configs/audio_policy.conf b/configs/audio_policy.conf
index 2caa926..ef45a58 100644
--- a/configs/audio_policy.conf
+++ b/configs/audio_policy.conf
@@ -5,7 +5,7 @@
global_configuration {
attached_output_devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER
default_output_device AUDIO_DEVICE_OUT_SPEAKER
- attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC
+ attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BACK_MIC
}
# audio hardware module section: contains descriptors for all audio hw modules present on the
@@ -49,7 +49,7 @@ audio_hw_modules {
sampling_rates 8000|11025|16000|22050|24000|32000|44100|48000
channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
- devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET|AUDIO_DEVICE_IN_WIRED_HEADSET
+ devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET|AUDIO_DEVICE_IN_WIRED_HEADSET|AUDIO_DEVICE_IN_BACK_MIC
}
}
}
diff --git a/configs/media_profiles.xml b/configs/media_profiles.xml
index 9189098..338238c 100644
--- a/configs/media_profiles.xml
+++ b/configs/media_profiles.xml
@@ -149,9 +149,9 @@
frameRate="30" />
<Audio codec="aac"
- bitRate="128000"
+ bitRate="196000"
sampleRate="48000"
- channels="1" />
+ channels="2" />
</EncoderProfile>
<EncoderProfile quality="timelapselow" fileFormat="3gp" duration="30">