mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-12 03:34:58 -04: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:
parent
85a6ecd5dc
commit
b82eff51dd
10 changed files with 180 additions and 73 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue