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

pcm/dsd: use MAX_CHANNELS

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