Commit 92779504 authored by Max Kellermann's avatar Max Kellermann

filter/volume: check the flag audio_format.reverse_endian

The volume plugin does not work for reverse_endian samples.
parent 44c97a8f
......@@ -81,6 +81,13 @@ volume_filter_open(struct filter *_filter,
return false;
}
if (audio_format->reverse_endian) {
g_set_error(error_r, volume_quark(), 0,
"Software volume for reverse endian "
"samples is not implemented");
return false;
}
filter->audio_format = *audio_format;
pcm_buffer_init(&filter->buffer);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment