Commit 2335fdbb authored by Max Kellermann's avatar Max Kellermann

decoder/dsf: allow channel setups other than stereo

This finishes the multi-channel support. Development of the feature was started with commit 02cc77cd
parent 1b6f7c3e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment