diff --git a/src/pcm/SampleFormat.hxx b/src/pcm/SampleFormat.hxx index 9d956b7f9..bd82acef6 100644 --- a/src/pcm/SampleFormat.hxx +++ b/src/pcm/SampleFormat.hxx @@ -122,7 +122,7 @@ sample_format_size(SampleFormat format) * @param format a #SampleFormat enum value * @return the string */ -gcc_pure gcc_malloc +gcc_pure const char * sample_format_to_string(SampleFormat format) noexcept;