diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/decoder/wavpack_decoder_plugin.c | 2 | ||||
-rw-r--r-- | src/pcm_convert.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -27,7 +27,7 @@ ver 0.17 (2011/??/??) * allow port specification in "bind_to_address" settings -ver 0.16.5 (2010/??/??) +ver 0.16.5 (2010/10/09) * configure.ac - disable assertions in the non-debugging build - show solaris plugin result correctly diff --git a/src/decoder/wavpack_decoder_plugin.c b/src/decoder/wavpack_decoder_plugin.c index bfb13b2a4..487831088 100644 --- a/src/decoder/wavpack_decoder_plugin.c +++ b/src/decoder/wavpack_decoder_plugin.c @@ -176,7 +176,7 @@ wavpack_decode(struct decoder *decoder, WavpackContext *wpc, bool can_seek) return; } - if ((WavpackGetMode(wpc) & MODE_FLOAT) == MODE_FLOAT) { + if (is_float) { format_samples = format_samples_float; } else { format_samples = format_samples_int; diff --git a/src/pcm_convert.c b/src/pcm_convert.c index 59dc0d5c4..b507999fa 100644 --- a/src/pcm_convert.c +++ b/src/pcm_convert.c @@ -222,7 +222,7 @@ pcm_convert_32(struct pcm_convert_state *state, src_buffer, src_size, &len); if (buf == NULL) { g_set_error(error_r, pcm_convert_quark(), 0, - "Conversion from %s to 24 bit is not implemented", + "Conversion from %s to 32 bit is not implemented", sample_format_to_string(src_format->format)); return NULL; } |