- added Receiver Thread
git-svn-id: http://moon:8086/svn/software/trunk/projects/mpsk_rx_gui@110 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -28,6 +28,8 @@
|
||||
#include "ControlComponent.h"
|
||||
#include "Receiver.h"
|
||||
#include "Transmitter.h"
|
||||
#include <radio/Vector.hpp>
|
||||
#include "RxBuffer.hpp"
|
||||
//[/Headers]
|
||||
|
||||
|
||||
@@ -45,7 +47,8 @@ class MainComponent : public Component,
|
||||
public AudioIODeviceCallback,
|
||||
public ReceiverDataListener,
|
||||
public LogHandler,
|
||||
public Timer
|
||||
public Timer,
|
||||
public Thread
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
@@ -74,10 +77,11 @@ private:
|
||||
ReceiverInterface *m_pReceiverControl;
|
||||
TransmitterInterface *m_pTransmitterControl;
|
||||
float m_samplerate;
|
||||
|
||||
RxBuffer<2> m_rxBuf;
|
||||
void timerCallback() override;
|
||||
AudioDeviceManager& getSharedAudioDeviceManager();
|
||||
void changeListenerCallback (ChangeBroadcaster*) override;
|
||||
void run();
|
||||
AudioDeviceManager& getSharedAudioDeviceManager();
|
||||
void audioDeviceIOCallback (const float** inputChannelData,
|
||||
int numInputChannels,
|
||||
float** outputChannelData,
|
||||
|
||||
Reference in New Issue
Block a user