summaryrefslogtreecommitdiff
path: root/tizen-audio-impl-pcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'tizen-audio-impl-pcm.c')
-rw-r--r--tizen-audio-impl-pcm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tizen-audio-impl-pcm.c b/tizen-audio-impl-pcm.c
index 668ab80..9a6f32f 100644
--- a/tizen-audio-impl-pcm.c
+++ b/tizen-audio-impl-pcm.c
@@ -672,7 +672,7 @@ audio_return_e _pcm_recover(void *pcm_handle, int revents)
return AUDIO_RET_OK;
}
-audio_return_e _pcm_get_params(void *pcm_handle, uint32_t direction, void **sample_spec, uint32_t *period_size, uint32_t *periods)
+audio_return_e _pcm_get_params(void *pcm_handle, uint32_t direction, void *sample_spec, uint32_t *period_size, uint32_t *periods)
{
#ifdef __USE_TINYALSA__
audio_pcm_sample_spec_s *ss;
@@ -680,7 +680,7 @@ audio_return_e _pcm_get_params(void *pcm_handle, uint32_t direction, void **samp
unsigned int _start_threshold, _stop_threshold, _silence_threshold;
struct pcm_config *config;
- ss = (audio_pcm_sample_spec_s *)*sample_spec;
+ ss = (audio_pcm_sample_spec_s *)sample_spec;
/* we use an internal API of the tiny alsa library, so it causes warning message during compile */
_pcm_config(pcm_handle, &config);
@@ -709,7 +709,7 @@ audio_return_e _pcm_get_params(void *pcm_handle, uint32_t direction, void **samp
snd_pcm_hw_params_t *hwparams;
snd_pcm_sw_params_t *swparams;
- ss = (audio_pcm_sample_spec_s *)*sample_spec;
+ ss = (audio_pcm_sample_spec_s *)sample_spec;
snd_pcm_hw_params_alloca(&hwparams);
snd_pcm_sw_params_alloca(&swparams);