mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-06-07 21:38:34 +00:00
Fix calculation of work_audio_buffer item count.
This commit is contained in:
parent
d9017530c6
commit
b03da8d693
@ -47,7 +47,7 @@ private:
|
|||||||
};
|
};
|
||||||
const buffer_s16_t work_audio_buffer {
|
const buffer_s16_t work_audio_buffer {
|
||||||
(int16_t*)dst.data(),
|
(int16_t*)dst.data(),
|
||||||
sizeof(*dst.data()) * dst.size()
|
sizeof(dst) / sizeof(int16_t)
|
||||||
};
|
};
|
||||||
|
|
||||||
dsp::decimate::FIRC8xR16x24FS4Decim8 decim_0;
|
dsp::decimate::FIRC8xR16x24FS4Decim8 decim_0;
|
||||||
|
@ -46,7 +46,7 @@ private:
|
|||||||
};
|
};
|
||||||
const buffer_s16_t work_audio_buffer {
|
const buffer_s16_t work_audio_buffer {
|
||||||
(int16_t*)dst.data(),
|
(int16_t*)dst.data(),
|
||||||
sizeof(*dst.data()) * dst.size()
|
sizeof(dst) / sizeof(int16_t)
|
||||||
};
|
};
|
||||||
|
|
||||||
dsp::decimate::FIRC8xR16x24FS4Decim8 decim_0;
|
dsp::decimate::FIRC8xR16x24FS4Decim8 decim_0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user