pcm_{mix,volume}: pass only sample_format to pcm_mix()

The other audio_format attributes are not used.
This commit is contained in:
Max Kellermann
2011-10-10 08:11:04 +02:00
parent 572d8d0cc4
commit 0847ca4ec2
11 changed files with 23 additions and 22 deletions

View File

@@ -57,7 +57,7 @@ idle_add(G_GNUC_UNUSED unsigned flags)
*/
bool
pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED int length,
G_GNUC_UNUSED const struct audio_format *format,
G_GNUC_UNUSED enum sample_format format,
G_GNUC_UNUSED int volume)
{
return true;