mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-23 08:28:36 -05:00
DV Serial: removed useless parameter
This commit is contained in:
parent
2caf76b746
commit
20c5ec3f76
@ -88,7 +88,7 @@ void DVSerialWorker::handleInputMessages()
|
|||||||
|
|
||||||
if (m_dvController.decode(m_dvAudioSamples, decodeMsg->getMbeFrame(), decodeMsg->getMbeRate(), dBVolume))
|
if (m_dvController.decode(m_dvAudioSamples, decodeMsg->getMbeFrame(), decodeMsg->getMbeRate(), dBVolume))
|
||||||
{
|
{
|
||||||
upsample6(m_dvAudioSamples, SerialDV::MBE_AUDIO_BLOCK_SIZE, decodeMsg->getChannels(), decodeMsg->getAudioFifo());
|
upsample6(m_dvAudioSamples, SerialDV::MBE_AUDIO_BLOCK_SIZE, decodeMsg->getChannels());
|
||||||
audioFifo[decodeMsg->getFifoSlot()] = decodeMsg->getAudioFifo();
|
audioFifo[decodeMsg->getFifoSlot()] = decodeMsg->getAudioFifo();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -156,7 +156,7 @@ bool DVSerialWorker::hasFifo(AudioFifo *audioFifo, unsigned int& fifoSlot)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DVSerialWorker::upsample6(short *in, int nbSamplesIn, unsigned char channels, AudioFifo *audioFifo)
|
void DVSerialWorker::upsample6(short *in, int nbSamplesIn, unsigned char channels)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < nbSamplesIn; i++)
|
for (int i = 0; i < nbSamplesIn; i++)
|
||||||
{
|
{
|
||||||
|
@ -139,7 +139,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
void upsample6(short *in, short *out, int nbSamplesIn);
|
void upsample6(short *in, short *out, int nbSamplesIn);
|
||||||
void upsample6(short *in, int nbSamplesIn, unsigned char channels, AudioFifo *audioFifo);
|
void upsample6(short *in, int nbSamplesIn, unsigned char channels);
|
||||||
|
|
||||||
SerialDV::DVController m_dvController;
|
SerialDV::DVController m_dvController;
|
||||||
bool m_running;
|
bool m_running;
|
||||||
|
Loading…
Reference in New Issue
Block a user