diff options
author | aravind.gara <aravind.gara@samsung.com> | 2017-10-16 19:48:50 +0900 |
---|---|---|
committer | aravind.gara <aravind.gara@samsung.com> | 2017-10-16 19:49:15 +0900 |
commit | 162000487c02d4aa7e98d45559771c5e11eea9ae (patch) | |
tree | 5b10b23d7ef1082b000052c0317ef7eabd25de6f | |
parent | 927e03cb8e9565c3b90e67640420443e7cad7cd0 (diff) | |
download | audio-hal-wm1831-tw2-accepted/tizen_4.0_unified.tar.gz audio-hal-wm1831-tw2-accepted/tizen_4.0_unified.tar.bz2 audio-hal-wm1831-tw2-accepted/tizen_4.0_unified.zip |
Rectify arguments mismatchtizen_4.0.m2_releasetizen_4.0.IoT.p2_releasesubmit/tizen_4.0/20171016.105654accepted/tizen/4.0/unified/20171017.212059tizen_4.0accepted/tizen_4.0_unified
Change-Id: Iff91baf40e6cf46ac41afd88596ca13fd02027f1
Signed-off-by: aravind.gara <aravind.gara@samsung.com>
-rw-r--r-- | tizen-audio-impl-pcm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tizen-audio-impl-pcm.c b/tizen-audio-impl-pcm.c index 91a02db..0713e85 100644 --- a/tizen-audio-impl-pcm.c +++ b/tizen-audio-impl-pcm.c @@ -779,12 +779,12 @@ audio_return_t _pcm_set_params(void *pcm_handle, uint32_t direction, void *sampl } if ((err = snd_pcm_hw_params_set_channels(pcm_handle, hwparams, ss.channels)) < 0) { - AUDIO_LOG_ERROR("snd_pcm_hw_params_set_channels(%u) failed : %d", err); + AUDIO_LOG_ERROR("snd_pcm_hw_params_set_channels(%u) failed : %d", ss.channels, err); return AUDIO_ERR_PARAMETER; } if ((err = snd_pcm_hw_params_set_period_size(pcm_handle, hwparams, period_size, 0)) < 0) { - AUDIO_LOG_ERROR("snd_pcm_hw_params_set_period_size(%u) failed : %d", err); + AUDIO_LOG_ERROR("snd_pcm_hw_params_set_period_size(%u) failed : %d", period_size, err); return AUDIO_ERR_PARAMETER; } |