aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/filter/volume_filter_plugin.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/filter/volume_filter_plugin.c b/src/filter/volume_filter_plugin.c
index 039619917..298ca2f36 100644
--- a/src/filter/volume_filter_plugin.c
+++ b/src/filter/volume_filter_plugin.c
@@ -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);