Commit 80e33a4e authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Updated devices table + revert to mode communication instead of recognition...

Updated devices table + revert to mode communication instead of recognition for audio recorder to get AEC when available
parent c63cf268
...@@ -176,7 +176,7 @@ struct OpenSLESOutputContext { ...@@ -176,7 +176,7 @@ struct OpenSLESOutputContext {
struct OpenSLESInputContext { struct OpenSLESInputContext {
OpenSLESInputContext() { OpenSLESInputContext() {
streamType = SL_ANDROID_RECORDING_PRESET_VOICE_RECOGNITION; streamType = SL_ANDROID_RECORDING_PRESET_VOICE_COMMUNICATION;
inBufSize = DeviceFavoriteBufferSize; inBufSize = DeviceFavoriteBufferSize;
qinit(&q); qinit(&q);
ms_mutex_init(&mutex,NULL); ms_mutex_init(&mutex,NULL);
......
...@@ -139,6 +139,7 @@ static SoundDeviceDescription devices[]={ ...@@ -139,6 +139,7 @@ static SoundDeviceDescription devices[]={
{ "Hewlett-Packard", "Slate 21 Pro", "tegra4", DEVICE_HAS_UNSTANDARD_LIBMEDIA, 250 }, { "Hewlett-Packard", "Slate 21 Pro", "tegra4", DEVICE_HAS_UNSTANDARD_LIBMEDIA, 250 },
{ "LENOVO", "Lenovo S60-a", "msm8916", 0, 0 , 44100}, { "LENOVO", "Lenovo S60-a", "msm8916", 0, 0 , 44100},
{ "blackberry", "STV100-4", "msm8992", DEVICE_HAS_BUILTIN_AEC | DEVICE_HAS_BUILTIN_OPENSLES_AEC, 0 , 48000},
{ NULL, NULL, NULL, 0, 0, 0} { NULL, NULL, NULL, 0, 0, 0}
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment