Skip to content

Commit

Permalink
Headers update
Browse files Browse the repository at this point in the history
  • Loading branch information
markondej authored Dec 18, 2023
1 parent af54f2b commit 7ad4670
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions transmitter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ class Transmitter
void Transmit(WaveReader &reader, float frequency, float bandwidth, unsigned dmaChannel, bool preserveCarrier);
void Stop();
private:
void TransmitViaCpu(WaveReader &reader, ClockOutput &output, unsigned sampleRate, unsigned bufferSize, unsigned clockDivisor, unsigned divisorRange);
void TransmitViaDma(WaveReader &reader, ClockOutput &output, unsigned sampleRate, unsigned bufferSize, unsigned clockDivisor, unsigned divisorRange, unsigned dmaChannel);
static void TransmitterThread(Transmitter *instance, ClockOutput *output, unsigned sampleRate, unsigned clockDivisor, unsigned divisorRange, unsigned *sampleOffset, std::vector<Sample> *samples, bool *stop);
void TxViaCpu(WaveReader &reader, unsigned sampleRate, unsigned bufferSize, unsigned clockDivisor, unsigned divisorRange);
void TxViaDma(WaveReader &reader, unsigned sampleRate, unsigned bufferSize, unsigned clockDivisor, unsigned divisorRange, unsigned dmaChannel);
void CpuTxThread(unsigned sampleRate, unsigned clockDivisor, unsigned divisorRange, unsigned *sampleOffset, std::vector<Sample> *samples, bool *stop);

std::condition_variable cv;
std::thread txThread;
Expand Down

0 comments on commit 7ad4670

Please sign in to comment.