| Index: content/renderer/media/webrtc/processed_local_audio_source.h
|
| diff --git a/content/renderer/media/webrtc/processed_local_audio_source.h b/content/renderer/media/webrtc/processed_local_audio_source.h
|
| index dead7afa75b877f1e926f5d82c9cfb855521e465..20cad5db7e5ca5bfd450a3072c31320182bd0317 100644
|
| --- a/content/renderer/media/webrtc/processed_local_audio_source.h
|
| +++ b/content/renderer/media/webrtc/processed_local_audio_source.h
|
| @@ -38,8 +38,6 @@
|
| // ID are derived from |device_info|. |factory| must outlive this instance.
|
| ProcessedLocalAudioSource(int consumer_render_frame_id,
|
| const StreamDeviceInfo& device_info,
|
| - const blink::WebMediaConstraints& constraints,
|
| - const ConstraintsCallback& started_callback,
|
| PeerConnectionDependencyFactory* factory);
|
|
|
| ~ProcessedLocalAudioSource() final;
|
| @@ -60,6 +58,7 @@
|
| const blink::WebMediaConstraints& source_constraints() const {
|
| return constraints_;
|
| }
|
| + void SetSourceConstraints(const blink::WebMediaConstraints& constraints);
|
|
|
| // The following accessors are not valid until after the source is started
|
| // (when the first track is connected).
|
| @@ -89,7 +88,6 @@
|
|
|
| // AudioCapturerSource::CaptureCallback implementation.
|
| // Called on the AudioCapturerSource audio thread.
|
| - void OnCaptureStarted() override;
|
| void Capture(const media::AudioBus* audio_source,
|
| int audio_delay_milliseconds,
|
| double volume,
|
| @@ -112,10 +110,7 @@
|
| base::ThreadChecker thread_checker_;
|
|
|
| // Cached audio constraints for the capturer.
|
| - const blink::WebMediaConstraints constraints_;
|
| -
|
| - // Callback that's called when the audio source has been initialized.
|
| - ConstraintsCallback started_callback_;
|
| + blink::WebMediaConstraints constraints_;
|
|
|
| // Audio processor doing processing like FIFO, AGC, AEC and NS. Its output
|
| // data is in a unit of 10 ms data chunk.
|
|
|