From b7bfa24f22a3a5a7709ce425ffc84bd4bb64be08 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 2 Mar 2009 09:42:16 +0100 Subject: pcm_volume: return bool Don't abort MPD when a sample format is not supported by pcm_volume(). --- test/run_decoder.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/run_decoder.c') diff --git a/test/run_decoder.c b/test/run_decoder.c index 8d11494c7..6bd331b02 100644 --- a/test/run_decoder.c +++ b/test/run_decoder.c @@ -30,11 +30,12 @@ /** * No-op dummy. */ -void +bool pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED int length, G_GNUC_UNUSED const struct audio_format *format, G_GNUC_UNUSED int volume) { + return true; } struct decoder { -- cgit v1.2.3