1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-27 02:09:14 -05:00

DV Serial: removed useless parameter

This commit is contained in:
f4exb 2016-10-11 23:54:27 +02:00
parent 2caf76b746
commit 20c5ec3f76
2 changed files with 3 additions and 3 deletions

View File

@ -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++)
{ {

View File

@ -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;