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

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

Issue 2023943002: Revert of Forward output glitch information from stream WebRTC log (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/mac/audio_manager_mac.cc ('k') | media/audio/mock_audio_manager.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_MOCK_AUDIO_MANAGER_H_ 5 #ifndef MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_
6 #define MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ 6 #define MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "media/audio/audio_manager.h" 9 #include "media/audio/audio_manager.h"
10 10
(...skipping 16 matching lines...) Expand all
27 27
28 void ShowAudioInputSettings() override; 28 void ShowAudioInputSettings() override;
29 29
30 void GetAudioInputDeviceNames(media::AudioDeviceNames* device_names) override; 30 void GetAudioInputDeviceNames(media::AudioDeviceNames* device_names) override;
31 31
32 void GetAudioOutputDeviceNames( 32 void GetAudioOutputDeviceNames(
33 media::AudioDeviceNames* device_names) override; 33 media::AudioDeviceNames* device_names) override;
34 34
35 media::AudioOutputStream* MakeAudioOutputStream( 35 media::AudioOutputStream* MakeAudioOutputStream(
36 const media::AudioParameters& params, 36 const media::AudioParameters& params,
37 const std::string& device_id, 37 const std::string& device_id) override;
38 const LogCallback& log_callback) override;
39 38
40 media::AudioOutputStream* MakeAudioOutputStreamProxy( 39 media::AudioOutputStream* MakeAudioOutputStreamProxy(
41 const media::AudioParameters& params, 40 const media::AudioParameters& params,
42 const std::string& device_id) override; 41 const std::string& device_id) override;
43 42
44 media::AudioInputStream* MakeAudioInputStream( 43 media::AudioInputStream* MakeAudioInputStream(
45 const media::AudioParameters& params, 44 const media::AudioParameters& params,
46 const std::string& device_id, 45 const std::string& device_id) override;
47 const LogCallback& log_callback) override;
48 46
49 void AddOutputDeviceChangeListener(AudioDeviceListener* listener) override; 47 void AddOutputDeviceChangeListener(AudioDeviceListener* listener) override;
50 void RemoveOutputDeviceChangeListener(AudioDeviceListener* listener) override; 48 void RemoveOutputDeviceChangeListener(AudioDeviceListener* listener) override;
51 49
52 AudioParameters GetDefaultOutputStreamParameters() override; 50 AudioParameters GetDefaultOutputStreamParameters() override;
53 AudioParameters GetOutputStreamParameters( 51 AudioParameters GetOutputStreamParameters(
54 const std::string& device_id) override; 52 const std::string& device_id) override;
55 AudioParameters GetInputStreamParameters( 53 AudioParameters GetInputStreamParameters(
56 const std::string& device_id) override; 54 const std::string& device_id) override;
57 std::string GetAssociatedOutputDeviceID( 55 std::string GetAssociatedOutputDeviceID(
58 const std::string& input_device_id) override; 56 const std::string& input_device_id) override;
59 57
60 std::unique_ptr<AudioLog> CreateAudioLog( 58 std::unique_ptr<AudioLog> CreateAudioLog(
61 AudioLogFactory::AudioComponent component) override; 59 AudioLogFactory::AudioComponent component) override;
62 60
63 protected: 61 protected:
64 ~MockAudioManager() override; 62 ~MockAudioManager() override;
65 63
66 private: 64 private:
67 DISALLOW_COPY_AND_ASSIGN(MockAudioManager); 65 DISALLOW_COPY_AND_ASSIGN(MockAudioManager);
68 }; 66 };
69 67
70 } // namespace media. 68 } // namespace media.
71 69
72 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ 70 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_
OLDNEW
« no previous file with comments | « media/audio/mac/audio_manager_mac.cc ('k') | media/audio/mock_audio_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698