summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-01-08 16:39:26 +0100
committerTakashi Iwai <tiwai@suse.de>2007-01-08 16:39:26 +0100
commitc818bab2e3ae13a949a6d2196bd3a965f3827f97 (patch)
tree219b87e394e30f70b04d335db5365effe7eb5346
parent6972e3e585be2a2837c7f3e2cab734f4e4bfe954 (diff)
Fix compile warning with internal function
Fixed the compile warning refering to the internal function snd_pcm_hw_params_set_format_first.
-rw-r--r--src/pcm/pcm_direct.c2
1 files changed, 1 insertions, 1 deletions
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");