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

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

Issue 23523023: Add GetOutputStreamParameters, GetAssociatedOutputDeviceID to AudioManager. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 3 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
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 virtual scoped_refptr<base::MessageLoopProxy> GetMessageLoop() OVERRIDE; 51 virtual scoped_refptr<base::MessageLoopProxy> GetMessageLoop() OVERRIDE;
52 virtual scoped_refptr<base::MessageLoopProxy> GetWorkerLoop() OVERRIDE; 52 virtual scoped_refptr<base::MessageLoopProxy> GetWorkerLoop() OVERRIDE;
53 53
54 virtual void AddOutputDeviceChangeListener( 54 virtual void AddOutputDeviceChangeListener(
55 AudioDeviceListener* listener) OVERRIDE; 55 AudioDeviceListener* listener) OVERRIDE;
56 virtual void RemoveOutputDeviceChangeListener( 56 virtual void RemoveOutputDeviceChangeListener(
57 AudioDeviceListener* listener) OVERRIDE; 57 AudioDeviceListener* listener) OVERRIDE;
58 58
59 virtual AudioParameters GetDefaultOutputStreamParameters() OVERRIDE; 59 virtual AudioParameters GetDefaultOutputStreamParameters() OVERRIDE;
60 virtual AudioParameters GetOutputStreamParameters(
61 const std::string& device_id) OVERRIDE;
60 virtual AudioParameters GetInputStreamParameters( 62 virtual AudioParameters GetInputStreamParameters(
61 const std::string& device_id) OVERRIDE; 63 const std::string& device_id) OVERRIDE;
64 virtual std::string GetAssociatedOutputDeviceID(
65 const std::string& input_device_id) OVERRIDE;
62 66
63 private: 67 private:
64 virtual ~MockAudioManager(); 68 virtual ~MockAudioManager();
65 69
66 scoped_refptr<base::MessageLoopProxy> message_loop_proxy_; 70 scoped_refptr<base::MessageLoopProxy> message_loop_proxy_;
67 71
68 DISALLOW_COPY_AND_ASSIGN(MockAudioManager); 72 DISALLOW_COPY_AND_ASSIGN(MockAudioManager);
69 }; 73 };
70 74
71 } // namespace media. 75 } // namespace media.
72 76
73 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_ 77 #endif // MEDIA_AUDIO_MOCK_AUDIO_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698