Fix calculation of work_audio_buffer item count.

This commit is contained in:
Jared Boone 2016-01-03 22:42:40 -08:00
parent d9017530c6
commit b03da8d693
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ private:
};
const buffer_s16_t work_audio_buffer {
(int16_t*)dst.data(),
sizeof(*dst.data()) * dst.size()
sizeof(dst) / sizeof(int16_t)
};
dsp::decimate::FIRC8xR16x24FS4Decim8 decim_0;

View File

@ -46,7 +46,7 @@ private:
};
const buffer_s16_t work_audio_buffer {
(int16_t*)dst.data(),
sizeof(*dst.data()) * dst.size()
sizeof(dst) / sizeof(int16_t)
};
dsp::decimate::FIRC8xR16x24FS4Decim8 decim_0;