pcm_volume: "length" is a "size_t", not "int"
This commit is contained in:
parent
725e48fce4
commit
b7d5652bf6
@ -138,7 +138,7 @@ pcm_volume_change_32(int32_t *buffer, unsigned num_samples, int volume)
|
||||
}
|
||||
|
||||
bool
|
||||
pcm_volume(void *buffer, int length,
|
||||
pcm_volume(void *buffer, size_t length,
|
||||
enum sample_format format,
|
||||
int volume)
|
||||
{
|
||||
|
@ -68,7 +68,7 @@ pcm_volume_dither(void)
|
||||
* @return true on success, false if the audio format is not supported
|
||||
*/
|
||||
bool
|
||||
pcm_volume(void *buffer, int length,
|
||||
pcm_volume(void *buffer, size_t length,
|
||||
enum sample_format format,
|
||||
int volume);
|
||||
|
||||
|
@ -115,7 +115,7 @@ filter_plugin_by_name(G_GNUC_UNUSED const char *name)
|
||||
}
|
||||
|
||||
bool
|
||||
pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED int length,
|
||||
pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED size_t length,
|
||||
G_GNUC_UNUSED enum sample_format format,
|
||||
G_GNUC_UNUSED int volume)
|
||||
{
|
||||
|
@ -52,7 +52,7 @@ idle_add(G_GNUC_UNUSED unsigned flags)
|
||||
* No-op dummy.
|
||||
*/
|
||||
bool
|
||||
pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED int length,
|
||||
pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED size_t length,
|
||||
G_GNUC_UNUSED enum sample_format format,
|
||||
G_GNUC_UNUSED int volume)
|
||||
{
|
||||
|
@ -56,7 +56,7 @@ idle_add(G_GNUC_UNUSED unsigned flags)
|
||||
* No-op dummy.
|
||||
*/
|
||||
bool
|
||||
pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED int length,
|
||||
pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED size_t length,
|
||||
G_GNUC_UNUSED enum sample_format format,
|
||||
G_GNUC_UNUSED int volume)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user