1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-16 05:11:49 -05:00

DV serial: removed useless parameter

This commit is contained in:
f4exb 2016-10-28 09:09:19 +02:00
parent be1629ca6d
commit 1f58b6ece7
2 changed files with 3 additions and 3 deletions

View File

@ -83,7 +83,7 @@ void DVSerialWorker::handleInputMessages()
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->getAudioFifo();
}
else
@ -131,7 +131,7 @@ bool DVSerialWorker::hasFifo(AudioFifo *audioFifo)
return m_audioFifo == audioFifo;
}
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++)
{

View File

@ -123,7 +123,7 @@ private:
typedef std::vector<AudioSample> AudioVector;
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;
bool m_running;