mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-23 11:27:32 +00:00
OutputStream (file M0 -> M4 radio) now works
Disabled numbers station for now (too buggy, low priority)
This commit is contained in:
@@ -63,7 +63,7 @@ void ReplayProcessor::on_message(const Message* const message) {
|
||||
channel_spectrum.on_message(message);
|
||||
break;*/
|
||||
|
||||
case Message::ID::CaptureConfig:
|
||||
case Message::ID::ReplayConfig:
|
||||
replay_config(*reinterpret_cast<const ReplayConfigMessage*>(message));
|
||||
break;
|
||||
|
||||
|
@@ -41,7 +41,7 @@ public:
|
||||
|
||||
private:
|
||||
// TODO: Repeated value needs to be transmitted from application side.
|
||||
static constexpr size_t baseband_fs = 500000;
|
||||
static constexpr size_t baseband_fs = 1000000;
|
||||
//static constexpr auto spectrum_rate_hz = 50.0f;
|
||||
|
||||
BasebandThread baseband_thread { baseband_fs, this, NORMALPRIO + 20, baseband::Direction::Transmit };
|
||||
|
@@ -55,7 +55,6 @@ size_t StreamOutput::read(void* const data, const size_t length) {
|
||||
|
||||
const auto remaining = length - read;
|
||||
read += active_buffer->read(&p[read], remaining);
|
||||
//buffer->empty();
|
||||
|
||||
if( active_buffer->is_empty() ) {
|
||||
if( !fifo_buffers_empty.in(active_buffer) ) {
|
||||
|
Reference in New Issue
Block a user