pcm/dop: remove unnecessary assertions

This commit is contained in:
Max Kellermann 2017-01-11 21:48:22 +01:00
parent 8364029db8
commit 9aa43416b6

View File

@ -44,8 +44,6 @@ pcm_dsd_to_dop(PcmBuffer &buffer, unsigned channels,
ConstBuffer<uint8_t> _src)
{
assert(audio_valid_channel_count(channels));
assert(!_src.IsNull());
assert(_src.size > 0);
assert(_src.size % channels == 0);
const unsigned num_src_samples = _src.size;