]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Fix hw_params of lfloat plugin
authorTakashi Iwai <tiwai@suse.de>
Tue, 8 Feb 2005 20:48:39 +0000 (20:48 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 8 Feb 2005 20:48:39 +0000 (20:48 +0000)
Fixed the bogus hw_refine call in hw_params of lfloat plugin.

src/pcm/pcm_lfloat.c

index b394b59b358daca53c229be08db0cdd5a362861b..deb58387a0738c02c4dc266bc5dcafa0f979e3c8 100644 (file)
@@ -273,7 +273,7 @@ static int snd_pcm_lfloat_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t *params)
                                          snd_pcm_lfloat_hw_refine_cchange,
                                          snd_pcm_lfloat_hw_refine_sprepare,
                                          snd_pcm_lfloat_hw_refine_schange,
-                                         snd_pcm_generic_hw_refine);
+                                         snd_pcm_generic_hw_params);
        if (err < 0)
                return err;
        if (pcm->stream == SND_PCM_STREAM_PLAYBACK) {