per-channel oscilloscope, part 9

work in progress!
This commit is contained in:
tildearrow 2022-05-01 18:29:16 -05:00
parent 269f07f597
commit 2c9bad3b3d
4 changed files with 67 additions and 7 deletions

View file

@ -209,11 +209,13 @@ struct DivRegWrite {
struct DivDispatchOscBuffer {
unsigned int rate;
unsigned short needle;
unsigned short readNeedle;
short data[65536];
DivDispatchOscBuffer():
rate(65536),
needle(0) {
needle(0),
readNeedle(0) {
memset(data,0,65536*sizeof(short));
}
};