decoder/dsf: allow channel setups other than stereo

This finishes the multi-channel support.  Development of the feature
was started with commit 02cc77cd8
This commit is contained in:
Max Kellermann 2014-08-23 13:40:21 +02:00
parent 1b6f7c3eb7
commit 2335fdbb5a
1 changed files with 1 additions and 2 deletions

View File

@ -134,8 +134,7 @@ dsf_read_metadata(Decoder *decoder, InputStream &is,
if (FromLE32(dsf_fmt_chunk.version) != 1 ||
FromLE32(dsf_fmt_chunk.formatid) != 0 ||
FromLE32(dsf_fmt_chunk.channeltype) != 2 ||
channels != 2 ||
!audio_valid_channel_count(channels) ||
!dsdlib_valid_freq(samplefreq))
return false;