fine tune waveform and ook again (#2322)

This commit is contained in:
sommermorgentraum 2024-11-04 03:19:29 +08:00 committed by GitHub
parent abd6177303
commit bea9f444c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 33 additions and 6 deletions

View file

@ -32,6 +32,8 @@
#include <memory>
#include <vector>
#define WAVEFORM_BUFFER_SIZE 550
using namespace encoders;
namespace ui {
@ -56,7 +58,7 @@ class EncodersConfigView : public View {
std::string frame_fragments = "0";
private:
int16_t waveform_buffer[550];
int16_t waveform_buffer[WAVEFORM_BUFFER_SIZE];
const encoder_def_t* encoder_def{};
void draw_waveform();