Replay buffer size and samplerate adjustment

This commit is contained in:
furrtek 2017-06-24 18:42:41 +01:00
parent 33a2df9d2a
commit 46515ebb05
6 changed files with 36 additions and 26 deletions

View file

@ -25,10 +25,6 @@
#include "baseband_api.hpp"
#include "buffer_exchange.hpp"
// DEBUG:
#include "hackrf_gpio.hpp"
using namespace hackrf::one;
struct BasebandReplay {
BasebandReplay(ReplayConfig* const config) {
baseband::replay_start(config);
@ -90,10 +86,7 @@ Optional<File::Error> ReplayThread::run() {
return read_result.error();
}
if (!buffers.put(buffer))
for(;;){}; // DEBUG
led_tx.toggle(); // DEBUG
buffers.put(buffer);
}
return { };