Commit 79c585bf authored by Max Kellermann's avatar Max Kellermann

pcm/PcmDsd: use size_t

parent becd81f7
......@@ -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);
......
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