From: Takashi Iwai Date: Mon, 8 Jan 2007 15:39:26 +0000 (+0100) Subject: Fix compile warning with internal function X-Git-Tag: v1.0.14rc2~1 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=c818bab2e3ae13a949a6d2196bd3a965f3827f97;p=alsa-lib.git Fix compile warning with internal function Fixed the compile warning refering to the internal function snd_pcm_hw_params_set_format_first. --- diff --git a/src/pcm/pcm_direct.c b/src/pcm/pcm_direct.c index 34742f1f..9f98080a 100644 --- a/src/pcm/pcm_direct.c +++ b/src/pcm/pcm_direct.c @@ -895,7 +895,7 @@ int snd_pcm_direct_initialize_slave(snd_pcm_direct_t *dmix, snd_pcm_t *spcm, str } if (ret < 0 && dmix->type != SND_PCM_TYPE_DMIX) { /* TODO: try to choose a good format */ - ret = snd_pcm_hw_params_set_format_first(spcm, hw_params, &format); + ret = INTERNAL(snd_pcm_hw_params_set_format_first)(spcm, hw_params, &format); } if (ret < 0) { SNDERR("requested or auto-format is not available");