mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 01:03:57 +02:00
remove stray debugging info
This commit is contained in:
parent
cb4aab3902
commit
424cffcd99
1 changed files with 0 additions and 8 deletions
|
@ -403,9 +403,6 @@ void linearResampling(const int16_t* sourceSamples, int16_t* destinationSamples,
|
|||
}
|
||||
}
|
||||
|
||||
// $$$$$$$$$$$$$$ TEMPORARY $craighs$
|
||||
float _loopbackOutputToInputRatio;
|
||||
|
||||
void Audio::start() {
|
||||
|
||||
// set up the desired audio format
|
||||
|
@ -434,9 +431,6 @@ void Audio::start() {
|
|||
qDebug() << "Unable to set up audio output because of a problem with output format.";
|
||||
}
|
||||
|
||||
_loopbackOutputToInputRatio = (_outputFormat.sampleRate() / (float) _inputFormat.sampleRate())
|
||||
* (_outputFormat.channelCount() / _inputFormat.channelCount());
|
||||
|
||||
_inputFrameBuffer.initialize( _inputFormat.channelCount(), _audioInput->bufferSize() * 8 );
|
||||
_peq.initialize( _inputFormat.sampleRate() );
|
||||
_inputGain.initialize();
|
||||
|
@ -541,8 +535,6 @@ void Audio::handleAudioInput() {
|
|||
float loopbackOutputToInputRatio = (_outputFormat.sampleRate() / (float) _inputFormat.sampleRate())
|
||||
* (_outputFormat.channelCount() / _inputFormat.channelCount());
|
||||
|
||||
assert(loopbackOutputToInputRatio == _loopbackOutputToInputRatio);
|
||||
|
||||
QByteArray loopBackByteArray(inputByteArray.size() * loopbackOutputToInputRatio, 0);
|
||||
|
||||
linearResampling((int16_t*) inputByteArray.data(), (int16_t*) loopBackByteArray.data(),
|
||||
|
|
Loading…
Reference in a new issue