Commit fc10bdf2 authored by Max Kellermann's avatar Max Kellermann

pcm/SampleTraits: use 64 bit for S24 long_type

parent 28ad79c9
......@@ -99,7 +99,7 @@ struct SampleTraits<SampleFormat::S24_P32> {
typedef value_type *pointer_type;
typedef const value_type *const_pointer_type;
typedef int long_type;
typedef int64_t long_type;
static constexpr size_t SAMPLE_SIZE = sizeof(value_type);
static constexpr unsigned BITS = 24;
......
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