1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

SDRPlay support: source plugin interim state (3) MIR stream init fails

This commit is contained in:
f4exb
2016-11-14 02:24:44 +01:00
parent 13d01f48c6
commit c9216f2093
4 changed files with 49 additions and 3 deletions
@@ -74,11 +74,13 @@ void SDRPlayThread::streamCallback(
unsigned int reset,
void *cbContext)
{
qDebug("SDRPlayThread::streamCallback");
m_this->callback(xi, xq, numSamples);
}
void SDRPlayThread::callback(short *xi, short *xq, unsigned int numSamples)
{
qDebug("SDRPlayThread::callback");
if (m_convertBuffer.size() < numSamples)
{
m_convertBuffer.resize(numSamples);