Fixed typos

This commit is contained in:
Abramo Bagnara 2000-11-29 10:26:01 +00:00
parent b9916fd7fe
commit 4ac3fac092
2 changed files with 2 additions and 1 deletions

View file

@ -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);

View file

@ -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) {