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

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

Issue 661163004: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/alsa/audio_manager_alsa.h ('k') | media/audio/audio_input_controller_unittest.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 <string> 8 #include <string>
9 #include "base/atomicops.h" 9 #include "base/atomicops.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 SILENCE_STATE_ONLY_SILENCE = 2, 259 SILENCE_STATE_ONLY_SILENCE = 2,
260 SILENCE_STATE_AUDIO_AND_SILENCE = 3, 260 SILENCE_STATE_AUDIO_AND_SILENCE = 3,
261 SILENCE_STATE_MAX = SILENCE_STATE_AUDIO_AND_SILENCE 261 SILENCE_STATE_MAX = SILENCE_STATE_AUDIO_AND_SILENCE
262 }; 262 };
263 #endif 263 #endif
264 264
265 AudioInputController(EventHandler* handler, 265 AudioInputController(EventHandler* handler,
266 SyncWriter* sync_writer, 266 SyncWriter* sync_writer,
267 UserInputMonitor* user_input_monitor, 267 UserInputMonitor* user_input_monitor,
268 const bool agc_is_enabled); 268 const bool agc_is_enabled);
269 virtual ~AudioInputController(); 269 ~AudioInputController() override;
270 270
271 // Methods called on the audio thread (owned by the AudioManager). 271 // Methods called on the audio thread (owned by the AudioManager).
272 void DoCreate(AudioManager* audio_manager, 272 void DoCreate(AudioManager* audio_manager,
273 const AudioParameters& params, 273 const AudioParameters& params,
274 const std::string& device_id); 274 const std::string& device_id);
275 void DoCreateForLowLatency(AudioManager* audio_manager, 275 void DoCreateForLowLatency(AudioManager* audio_manager,
276 const AudioParameters& params, 276 const AudioParameters& params,
277 const std::string& device_id); 277 const std::string& device_id);
278 void DoCreateForStream(AudioInputStream* stream_to_control); 278 void DoCreateForStream(AudioInputStream* stream_to_control);
279 void DoRecord(); 279 void DoRecord();
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 368
369 // Time when a low-latency stream is created. 369 // Time when a low-latency stream is created.
370 base::TimeTicks low_latency_create_time_; 370 base::TimeTicks low_latency_create_time_;
371 371
372 DISALLOW_COPY_AND_ASSIGN(AudioInputController); 372 DISALLOW_COPY_AND_ASSIGN(AudioInputController);
373 }; 373 };
374 374
375 } // namespace media 375 } // namespace media
376 376
377 #endif // MEDIA_AUDIO_AUDIO_INPUT_CONTROLLER_H_ 377 #endif // MEDIA_AUDIO_AUDIO_INPUT_CONTROLLER_H_
OLDNEW
« no previous file with comments | « media/audio/alsa/audio_manager_alsa.h ('k') | media/audio/audio_input_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698