mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
Fix compile warnings
Fix trivial compile warnings.
This commit is contained in:
parent
0ec2247972
commit
76f7af823b
6 changed files with 38 additions and 30 deletions
|
|
@ -875,7 +875,7 @@ int snd_pcm_direct_initialize_slave(snd_pcm_direct_t *dmix, snd_pcm_t *spcm, str
|
|||
}
|
||||
|
||||
if (buffer_is_not_initialized && params->periods > 0) {
|
||||
int periods = params->periods;
|
||||
unsigned int periods = params->periods;
|
||||
ret = INTERNAL(snd_pcm_hw_params_set_periods_near)(spcm, hw_params, ¶ms->periods, 0);
|
||||
if (ret < 0) {
|
||||
SNDERR("unable to set requested periods");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue