pcm_{mix,volume}: pass only sample_format to pcm_mix()
The other audio_format attributes are not used.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user