mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 09:48:45 -05:00
Fixed PlutoSDR output sample width. Fixes issue #198
This commit is contained in:
parent
ea83e43d09
commit
f66f9e1cfe
@ -94,7 +94,6 @@ void PlutoSDROutputThread::run()
|
||||
for (p_dat = m_plutoBox->txBufferFirst(), ihs = 0; p_dat < p_end; p_dat += p_inc, ihs += 2)
|
||||
{
|
||||
m_plutoBox->txChannelConvert((int16_t*) p_dat, &m_buf[ihs]);
|
||||
//*((int16_t*)p_dat) = m_buf[ihs] << 4;
|
||||
}
|
||||
|
||||
// Schedule TX buffer for sending
|
||||
|
@ -54,7 +54,7 @@ private:
|
||||
|
||||
unsigned int m_log2Interp; // soft interpolation
|
||||
|
||||
Interpolators<qint16, SDR_TX_SAMP_SZ, 12> m_interpolators;
|
||||
Interpolators<qint16, SDR_TX_SAMP_SZ, 16> m_interpolators; //!< Pluto is on 12 bit but iio_channel_convert_inverse converts from 16 to 12 bits
|
||||
|
||||
void run();
|
||||
void convert(qint16* buf, qint32 len);
|
||||
|
Loading…
Reference in New Issue
Block a user