avail_min would be set to period_size inside the function if the
value is lower than the period size.
[Version] 0.1.12
[Issue Type] Update
Change-Id: Iaa8796c48d78a118f57c28a0bed44f881cc67fc0
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
Name: audio-hal-exynos9110
Summary: TIZEN Audio HAL for Exynos9110(TW3)
-Version: 0.1.11
+Version: 0.1.12
Release: 0
Group: System/Libraries
License: Apache-2.0
return AUDIO_ERR_PARAMETER;
}
- if ((err = snd_pcm_sw_params_set_avail_min(pcm_handle, swparams, 1024)) < 0) {
+ if ((err = snd_pcm_sw_params_set_avail_min(pcm_handle, swparams, period_size)) < 0) {
AUDIO_LOG_ERROR("snd_pcm_sw_params_set_avail_min() failed : %d", err);
return AUDIO_ERR_PARAMETER;
}