mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-15 22:37:43 +00:00
Refactor of capture buffer management between cores.
Instead of copying data into and out of FIFO, passing buffer pointers between cores that are sized to match preferred/ideal SD card write size.
This commit is contained in:
@@ -40,8 +40,8 @@ class CaptureThread {
|
||||
public:
|
||||
CaptureThread(
|
||||
std::unique_ptr<Writer> writer,
|
||||
size_t write_size_log2,
|
||||
size_t buffer_count_log2
|
||||
size_t write_size,
|
||||
size_t buffer_count
|
||||
);
|
||||
~CaptureThread();
|
||||
|
||||
|
Reference in New Issue
Block a user