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:
parent
1b6f7c3eb7
commit
2335fdbb5a
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue