mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
Fixed a few typo
This commit is contained in:
parent
84cb338f83
commit
c9722d7be1
1 changed files with 3 additions and 2 deletions
|
|
@ -383,11 +383,12 @@ ssize_t snd_pcm_format_set_silence(int format, void *data, size_t samples)
|
||||||
u_int64_t silence = snd_pcm_format_silence_64(format);
|
u_int64_t silence = snd_pcm_format_silence_64(format);
|
||||||
while (samples-- > 0)
|
while (samples-- > 0)
|
||||||
*((u_int64_t *)data)++ = silence;
|
*((u_int64_t *)data)++ = silence;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
return samples;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int linear_formats[4*2*2] = {
|
static int linear_formats[4*2*2] = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue