mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-23 06:18:08 +00:00
Made back button always focusable with left key
This commit is contained in:
@@ -49,8 +49,6 @@ size_t StreamOutput::read(void* const data, const size_t length) {
|
||||
// We need a full buffer...
|
||||
if( !fifo_buffers_full.out(active_buffer) ) {
|
||||
// ...but none are available. Samples were dropped.
|
||||
//active_buffer = nullptr; // Testing ! Jumpstart
|
||||
creg::m4txevent::assert();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@@ -48,12 +48,12 @@ private:
|
||||
|
||||
FIFO<StreamBuffer*> fifo_buffers_empty;
|
||||
FIFO<StreamBuffer*> fifo_buffers_full;
|
||||
std::array<StreamBuffer, buffer_count_max> buffers;
|
||||
std::array<StreamBuffer*, buffer_count_max> buffers_empty;
|
||||
std::array<StreamBuffer*, buffer_count_max> buffers_full;
|
||||
std::array<StreamBuffer, buffer_count_max> buffers { };
|
||||
std::array<StreamBuffer*, buffer_count_max> buffers_empty { };
|
||||
std::array<StreamBuffer*, buffer_count_max> buffers_full { };
|
||||
StreamBuffer* active_buffer { nullptr };
|
||||
ReplayConfig* const config { nullptr };
|
||||
std::unique_ptr<uint8_t[]> data;
|
||||
std::unique_ptr<uint8_t[]> data { };
|
||||
};
|
||||
|
||||
#endif/*__STREAM_OUTPUT_H__*/
|
||||
|
Reference in New Issue
Block a user