pcm_volume: return bool

Don't abort MPD when a sample format is not supported by pcm_volume().
This commit is contained in:
Max Kellermann
2009-03-02 09:42:16 +01:00
parent 0579b6ed27
commit b7bfa24f22
5 changed files with 25 additions and 13 deletions

View File

@@ -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 {