mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-16 05:11:49 -05:00
Removed Fc pos references in Sample Sink side
This commit is contained in:
parent
de2e018e42
commit
c458f0647c
@ -26,8 +26,7 @@ BladerfOutputThread::BladerfOutputThread(struct bladerf* dev, SampleSourceFifo*
|
|||||||
m_running(false),
|
m_running(false),
|
||||||
m_dev(dev),
|
m_dev(dev),
|
||||||
m_sampleFifo(sampleFifo),
|
m_sampleFifo(sampleFifo),
|
||||||
m_log2Interp(0),
|
m_log2Interp(0)
|
||||||
m_fcPos(0)
|
|
||||||
{
|
{
|
||||||
std::fill(m_buf, m_buf + 2*BLADERFOUTPUT_BLOCKSIZE, 0);
|
std::fill(m_buf, m_buf + 2*BLADERFOUTPUT_BLOCKSIZE, 0);
|
||||||
}
|
}
|
||||||
|
@ -49,7 +49,6 @@ private:
|
|||||||
SampleSourceFifo* m_sampleFifo;
|
SampleSourceFifo* m_sampleFifo;
|
||||||
|
|
||||||
unsigned int m_log2Interp;
|
unsigned int m_log2Interp;
|
||||||
int m_fcPos;
|
|
||||||
|
|
||||||
Interpolators<qint16, SDR_TX_SAMP_SZ, 12> m_interpolators;
|
Interpolators<qint16, SDR_TX_SAMP_SZ, 12> m_interpolators;
|
||||||
|
|
||||||
|
@ -25,8 +25,7 @@ LimeSDROutputThread::LimeSDROutputThread(lms_stream_t* stream, SampleSourceFifo*
|
|||||||
m_running(false),
|
m_running(false),
|
||||||
m_stream(stream),
|
m_stream(stream),
|
||||||
m_sampleFifo(sampleFifo),
|
m_sampleFifo(sampleFifo),
|
||||||
m_log2Interp(0),
|
m_log2Interp(0)
|
||||||
m_fcPos(LimeSDROutputSettings::FC_POS_CENTER)
|
|
||||||
{
|
{
|
||||||
std::fill(m_buf, m_buf + 2*LIMESDROUTPUT_BLOCKSIZE, 0);
|
std::fill(m_buf, m_buf + 2*LIMESDROUTPUT_BLOCKSIZE, 0);
|
||||||
}
|
}
|
||||||
@ -74,11 +73,6 @@ void LimeSDROutputThread::setLog2Interpolation(unsigned int log2_interp)
|
|||||||
m_log2Interp = log2_interp;
|
m_log2Interp = log2_interp;
|
||||||
}
|
}
|
||||||
|
|
||||||
void LimeSDROutputThread::setFcPos(int fcPos)
|
|
||||||
{
|
|
||||||
m_fcPos = fcPos;
|
|
||||||
}
|
|
||||||
|
|
||||||
void LimeSDROutputThread::run()
|
void LimeSDROutputThread::run()
|
||||||
{
|
{
|
||||||
int res;
|
int res;
|
||||||
|
@ -42,7 +42,6 @@ public:
|
|||||||
virtual void setDeviceSampleRate(int __attribute__((unused)) sampleRate) {}
|
virtual void setDeviceSampleRate(int __attribute__((unused)) sampleRate) {}
|
||||||
virtual bool isRunning() { return m_running; }
|
virtual bool isRunning() { return m_running; }
|
||||||
void setLog2Interpolation(unsigned int log2_ioterp);
|
void setLog2Interpolation(unsigned int log2_ioterp);
|
||||||
void setFcPos(int fcPos);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QMutex m_startWaitMutex;
|
QMutex m_startWaitMutex;
|
||||||
@ -54,7 +53,6 @@ private:
|
|||||||
SampleSourceFifo* m_sampleFifo;
|
SampleSourceFifo* m_sampleFifo;
|
||||||
|
|
||||||
unsigned int m_log2Interp; // soft decimation
|
unsigned int m_log2Interp; // soft decimation
|
||||||
int m_fcPos;
|
|
||||||
|
|
||||||
Interpolators<qint16, SDR_TX_SAMP_SZ, 12> m_interpolators;
|
Interpolators<qint16, SDR_TX_SAMP_SZ, 12> m_interpolators;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user