aboutsummaryrefslogtreecommitdiff
path: root/test/run_decoder.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-10-10 08:11:04 +0200
committerMax Kellermann <max@duempel.org>2011-10-10 10:24:05 +0200
commit0847ca4ec2e137d0eaa235d653217e8a913187f8 (patch)
tree2d00b5b7e7700ee216890b83f86c6528090079a1 /test/run_decoder.c
parent572d8d0cc486dce64c0f6239cc27598068c1085d (diff)
pcm_{mix,volume}: pass only sample_format to pcm_mix()
The other audio_format attributes are not used.
Diffstat (limited to 'test/run_decoder.c')
-rw-r--r--test/run_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_decoder.c b/test/run_decoder.c
index 87dffa63..9959b6de 100644
--- a/test/run_decoder.c
+++ b/test/run_decoder.c
@@ -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;