mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-01-12 07:49:32 -05:00
StreamInput: notify other core every fourth of FIFO written.
This commit is contained in:
parent
a5c2143ca8
commit
9eefd56410
@ -64,7 +64,7 @@ public:
|
||||
|
||||
private:
|
||||
const size_t K;
|
||||
const uint64_t event_bytes_mask = (1ULL << 12) - 1;
|
||||
const uint64_t event_bytes_mask = (1ULL << (K - 2)) - 1;
|
||||
uint64_t bytes_written = 0;
|
||||
std::unique_ptr<uint8_t[]> data;
|
||||
FIFO<uint8_t> fifo;
|
||||
|
Loading…
Reference in New Issue
Block a user