diff options
Diffstat (limited to 'polyp/sample-util.c')
-rw-r--r-- | polyp/sample-util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/polyp/sample-util.c b/polyp/sample-util.c index d2bb3150..2310f3cb 100644 --- a/polyp/sample-util.c +++ b/polyp/sample-util.c @@ -30,6 +30,7 @@ #include <liboil/liboilfuncs.h> +#include "log.h" #include "sample-util.h" pa_memblock *pa_silence_memblock(pa_memblock* b, const pa_sample_spec *spec) { @@ -316,6 +317,8 @@ void pa_volume_memchunk(pa_memchunk*c, const pa_sample_spec *spec, const pa_cvol } default: + pa_log_error(__FILE__": ERROR: Unable to change volume of format %s.\n", + pa_sample_format_to_string(spec->format)); abort(); } } |