pcm/PcmDsd: use size_t

This commit is contained in:
Max Kellermann 2020-01-14 23:28:34 +01:00
parent becd81f771
commit 79c585bf03
1 changed files with 2 additions and 2 deletions

View File

@ -38,8 +38,8 @@ PcmDsd::ToFloat(unsigned channels, ConstBuffer<uint8_t> src) noexcept
assert(src.size % channels == 0);
assert(channels <= dsd2pcm.max_size());
const unsigned num_samples = src.size;
const unsigned num_frames = src.size / channels;
const size_t num_samples = src.size;
const size_t num_frames = src.size / channels;
float *dest = buffer.GetT<float>(num_samples);