Remove unused members from AudioDeviceBuffer
Removes current_mic_level_, new_mic_level_ and clock_drift_, together with APIs for accessing them. Bug: webrtc:8598 Change-Id: I8e07396fcafd2a719e204730e2c7d26797bed762 Reviewed-on: https://webrtc-review.googlesource.com/39783 Commit-Queue: Fredrik Solenberg <solenberg@webrtc.org> Reviewed-by: Henrik Andreassson <henrika@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21632}
This commit is contained in:
committed by
Commit Bot
parent
d980c57c80
commit
1a50cd5894
@ -1955,7 +1955,6 @@ int32_t AudioDeviceLinuxPulse::ProcessRecordedData(int8_t* bufferData,
|
||||
|
||||
_ptrAudioBuffer->SetRecordedBuffer(bufferData, bufferSizeInSamples);
|
||||
|
||||
const uint32_t clockDrift(0);
|
||||
// TODO(andrew): this is a temporary hack, to avoid non-causal far- and
|
||||
// near-end signals at the AEC for PulseAudio. I think the system delay is
|
||||
// being correctly calculated here, but for legacy reasons we add +10 ms
|
||||
@ -1965,7 +1964,7 @@ int32_t AudioDeviceLinuxPulse::ProcessRecordedData(int8_t* bufferData,
|
||||
recDelay -= 10;
|
||||
else
|
||||
recDelay = 0;
|
||||
_ptrAudioBuffer->SetVQEData(_sndCardPlayDelay, recDelay, clockDrift);
|
||||
_ptrAudioBuffer->SetVQEData(_sndCardPlayDelay, recDelay);
|
||||
_ptrAudioBuffer->SetTypingStatus(KeyPressed());
|
||||
// Deliver recorded samples at specified sample rate,
|
||||
// mic level etc. to the observer using callback.
|
||||
|
||||
Reference in New Issue
Block a user