From: Abramo Bagnara Date: Wed, 29 Nov 2000 10:26:01 +0000 (+0000) Subject: Fixed typos X-Git-Tag: v1.0.3~1069 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=4ac3fac092cfa523623439883a35c3a8f60c3426;p=alsa-lib.git Fixed typos --- diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c index c0fca4be..c4ca15b9 100644 --- a/src/pcm/pcm.c +++ b/src/pcm/pcm.c @@ -1913,6 +1913,7 @@ void snd_pcm_hw_info_par_dump(snd_pcm_hw_info_t *info, unsigned int param, FILE unsigned long min, max; snd_pcm_hw_info_par_get_minmax(info, param, &min, &max); printf("%ld - %ld", min, max); + break; } default: assert(0); diff --git a/src/pcm/pcm_plug.c b/src/pcm/pcm_plug.c index 123a6d51..f94a9821 100644 --- a/src/pcm/pcm_plug.c +++ b/src/pcm/pcm_plug.c @@ -470,7 +470,7 @@ static int snd_pcm_plug_hw_params(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) } nformats = snd_pcm_plug_format_choices(pcm->stream, formats, params->format, - sinfo.access_mask); + sinfo.format_mask); err = snd_pcm_strategy_simple_choices(strategy, 2, SND_PCM_HW_PARAM_FORMAT, nformats, formats); if (err < 0) {