Commit 5e3844ac authored by Max Kellermann's avatar Max Kellermann

pcm/dsd: use MAX_CHANNELS

parent cb4f5d45
......@@ -22,6 +22,7 @@
#include "check.h"
#include "PcmBuffer.hxx"
#include "AudioFormat.hxx"
#include <array>
......@@ -35,7 +36,7 @@ template<typename T> struct ConstBuffer;
class PcmDsd {
PcmBuffer buffer;
std::array<struct dsd2pcm_ctx_s *, 32> dsd2pcm;
std::array<struct dsd2pcm_ctx_s *, MAX_CHANNELS> dsd2pcm;
public:
PcmDsd();
......
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