diff options
author | 2010-01-27 19:55:48 +0100 | |
---|---|---|
committer | 2010-01-27 19:55:48 +0100 | |
commit | 3d030ccade41504430b383a286bf9916233d2b6d (patch) | |
tree | ad1d3b1652e02134f2955e6fe1929351cf459523 /streamer.c | |
parent | 9cd3874c0eac44314c645f628dffced6e7926147 (diff) |
allow float32-only decoder plugins
Diffstat (limited to 'streamer.c')
-rw-r--r-- | streamer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -722,7 +722,7 @@ streamer_read_async (char *bytes, int size) { if (str_current_decoder->samplerate != -1) { int nchannels = str_current_decoder->channels; int samplerate = str_current_decoder->samplerate; - if (str_current_decoder->samplerate == p_get_rate ()) { + if (str_current_decoder->samplerate == p_get_rate () && decoder->read_int16) { // samplerate match if (str_current_decoder->channels == 2) { bytesread = decoder->read_int16 (str_current_decoder, bytes, size); |