mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 09:48:45 -05:00
DV serial: removed useless parameter
This commit is contained in:
parent
be1629ca6d
commit
1f58b6ece7
@ -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++)
|
||||
{
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user