summaryrefslogtreecommitdiffstats
path: root/libaudio
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2011-08-01 09:25:28 -0700
committerEric Laurent <elaurent@google.com>2011-08-01 09:45:47 -0700
commitff32e618df57e2441b76542b7418c3a9741e4f42 (patch)
tree9a43bcd789c3ef094b7b02623ee46c541061e4c5 /libaudio
parent5a88fa3e8efc7460497be19d7fc9758fe9de9875 (diff)
downloaddevice_samsung_crespo-ff32e618df57e2441b76542b7418c3a9741e4f42.zip
device_samsung_crespo-ff32e618df57e2441b76542b7418c3a9741e4f42.tar.gz
device_samsung_crespo-ff32e618df57e2441b76542b7418c3a9741e4f42.tar.bz2
audio HAL: Update to latest tinyalsa
add control for ALSA thresholds in pcm_config structure. Change-Id: I07f6f623b4102bfcb31dd772d93c8443a2d7f236
Diffstat (limited to 'libaudio')
-rw-r--r--libaudio/AudioHardware.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/libaudio/AudioHardware.cpp b/libaudio/AudioHardware.cpp
index 3767496..faa8a14 100644
--- a/libaudio/AudioHardware.cpp
+++ b/libaudio/AudioHardware.cpp
@@ -773,6 +773,9 @@ struct pcm *AudioHardware::openPcmOut_l()
period_size : AUDIO_HW_OUT_PERIOD_SZ,
period_count : AUDIO_HW_OUT_PERIOD_CNT,
format : PCM_FORMAT_S16_LE,
+ start_threshold : 0,
+ stop_threshold : 0,
+ silence_threshold : 0,
};
TRACE_DRIVER_IN(DRV_PCM_OPEN)
@@ -1914,6 +1917,9 @@ status_t AudioHardware::AudioStreamInALSA::open_l()
period_size : AUDIO_HW_IN_PERIOD_SZ,
period_count : AUDIO_HW_IN_PERIOD_CNT,
format : PCM_FORMAT_S16_LE,
+ start_threshold : 0,
+ stop_threshold : 0,
+ silence_threshold : 0,
};
LOGV("open pcm_in driver");