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

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

Issue 101473002: Revert 238325 "Attempt to fix audio wedges by restarting all str..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years 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 | Annotate | Revision Log
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 "media/audio/audio_manager.h" 8 #include "media/audio/audio_manager.h"
9 9
10 namespace media { 10 namespace media {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 AudioDeviceListener* listener) OVERRIDE; 60 AudioDeviceListener* listener) OVERRIDE;
61 61
62 virtual AudioParameters GetDefaultOutputStreamParameters() OVERRIDE; 62 virtual AudioParameters GetDefaultOutputStreamParameters() OVERRIDE;
63 virtual AudioParameters GetOutputStreamParameters( 63 virtual AudioParameters GetOutputStreamParameters(
64 const std::string& device_id) OVERRIDE; 64 const std::string& device_id) OVERRIDE;
65 virtual AudioParameters GetInputStreamParameters( 65 virtual AudioParameters GetInputStreamParameters(
66 const std::string& device_id) OVERRIDE; 66 const std::string& device_id) OVERRIDE;
67 virtual std::string GetAssociatedOutputDeviceID( 67 virtual std::string GetAssociatedOutputDeviceID(
68 const std::string& input_device_id) OVERRIDE; 68 const std::string& input_device_id) OVERRIDE;
69 69
70 virtual void FixWedgedAudio() OVERRIDE;
71
72 protected: 70 protected:
73 virtual ~MockAudioManager(); 71 virtual ~MockAudioManager();
74 72
75 private: 73 private:
76 scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; 74 scoped_refptr<base::MessageLoopProxy> message_loop_proxy_;
77 75
78 DISALLOW_COPY_AND_ASSIGN(MockAudioManager); 76 DISALLOW_COPY_AND_ASSIGN(MockAudioManager);
79 }; 77 };
80 78
81 } // namespace media. 79 } // namespace media.
82 80
83 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ 81 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_
OLDNEW
« no previous file with comments | « trunk/src/media/audio/audio_output_resampler.cc ('k') | trunk/src/media/audio/mock_audio_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698