mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-18 08:56:42 -05:00
Fixed typos
This commit is contained in:
parent
b9916fd7fe
commit
4ac3fac092
2 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
unsigned long min, max;
|
||||||
snd_pcm_hw_info_par_get_minmax(info, param, &min, &max);
|
snd_pcm_hw_info_par_get_minmax(info, param, &min, &max);
|
||||||
printf("%ld - %ld", min, max);
|
printf("%ld - %ld", min, max);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
assert(0);
|
assert(0);
|
||||||
|
|
|
||||||
|
|
@ -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,
|
nformats = snd_pcm_plug_format_choices(pcm->stream, formats,
|
||||||
params->format,
|
params->format,
|
||||||
sinfo.access_mask);
|
sinfo.format_mask);
|
||||||
err = snd_pcm_strategy_simple_choices(strategy, 2, SND_PCM_HW_PARAM_FORMAT,
|
err = snd_pcm_strategy_simple_choices(strategy, 2, SND_PCM_HW_PARAM_FORMAT,
|
||||||
nformats, formats);
|
nformats, formats);
|
||||||
if (err < 0) {
|
if (err < 0) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue