Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Side by Side Diff: media/audio/audio_input_controller.h

Issue 1864483002: Forward output glitch information from stream WebRTC log (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/audio/android/audio_manager_android.cc ('k') | media/audio/audio_input_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_AUDIO_AUDIO_INPUT_CONTROLLER_H_ 5 #ifndef MEDIA_AUDIO_AUDIO_INPUT_CONTROLLER_H_
6 #define MEDIA_AUDIO_AUDIO_INPUT_CONTROLLER_H_ 6 #define MEDIA_AUDIO_AUDIO_INPUT_CONTROLLER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 #endif 319 #endif
320 320
321 // Enable and disable debug recording of audio input. Called on the audio 321 // Enable and disable debug recording of audio input. Called on the audio
322 // thread. 322 // thread.
323 void DoEnableDebugRecording(AudioInputWriter* input_writer); 323 void DoEnableDebugRecording(AudioInputWriter* input_writer);
324 void DoDisableDebugRecording(); 324 void DoDisableDebugRecording();
325 325
326 // Called on the audio thread. 326 // Called on the audio thread.
327 void WriteInputDataForDebugging(std::unique_ptr<AudioBus> data); 327 void WriteInputDataForDebugging(std::unique_ptr<AudioBus> data);
328 328
329 // Called by the stream with log messages.
330 void LogMessage(const std::string& message);
331
329 // Gives access to the task runner of the creating thread. 332 // Gives access to the task runner of the creating thread.
330 scoped_refptr<base::SingleThreadTaskRunner> creator_task_runner_; 333 scoped_refptr<base::SingleThreadTaskRunner> creator_task_runner_;
331 334
332 // The task runner of audio-manager thread that this object runs on. 335 // The task runner of audio-manager thread that this object runs on.
333 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; 336 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
334 337
335 // Contains the AudioInputController::EventHandler which receives state 338 // Contains the AudioInputController::EventHandler which receives state
336 // notifications from this class. 339 // notifications from this class.
337 EventHandler* handler_; 340 EventHandler* handler_;
338 341
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 394
392 // Used for audio debug recordings. Accessed on audio thread. 395 // Used for audio debug recordings. Accessed on audio thread.
393 AudioInputWriter* input_writer_; 396 AudioInputWriter* input_writer_;
394 397
395 DISALLOW_COPY_AND_ASSIGN(AudioInputController); 398 DISALLOW_COPY_AND_ASSIGN(AudioInputController);
396 }; 399 };
397 400
398 } // namespace media 401 } // namespace media
399 402
400 #endif // MEDIA_AUDIO_AUDIO_INPUT_CONTROLLER_H_ 403 #endif // MEDIA_AUDIO_AUDIO_INPUT_CONTROLLER_H_
OLDNEW
« no previous file with comments | « media/audio/android/audio_manager_android.cc ('k') | media/audio/audio_input_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698