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

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

Issue 2697033006: Switching MediaStreamManager from using AudioManager to AudioSystem (Closed)
Patch Set: weak pointers removed Created 3 years, 9 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/audio_system.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_SYSTEM_IMPL_H_ 5 #ifndef MEDIA_AUDIO_AUDIO_SYSTEM_IMPL_H_
6 #define MEDIA_AUDIO_AUDIO_SYSTEM_IMPL_H_ 6 #define MEDIA_AUDIO_AUDIO_SYSTEM_IMPL_H_
7 7
8 #include "media/audio/audio_system.h" 8 #include "media/audio/audio_system.h"
9 9
10 namespace base { 10 namespace base {
(...skipping 13 matching lines...) Expand all
24 void GetInputStreamParameters( 24 void GetInputStreamParameters(
25 const std::string& device_id, 25 const std::string& device_id,
26 OnAudioParamsCallback on_params_cb) const override; 26 OnAudioParamsCallback on_params_cb) const override;
27 27
28 void GetOutputStreamParameters( 28 void GetOutputStreamParameters(
29 const std::string& device_id, 29 const std::string& device_id,
30 OnAudioParamsCallback on_params_cb) const override; 30 OnAudioParamsCallback on_params_cb) const override;
31 31
32 void HasInputDevices(OnBoolCallback on_has_devices_cb) const override; 32 void HasInputDevices(OnBoolCallback on_has_devices_cb) const override;
33 33
34 base::SingleThreadTaskRunner* GetTaskRunner() const override;
35
34 AudioManager* GetAudioManager() const override; 36 AudioManager* GetAudioManager() const override;
35 37
36 protected: 38 protected:
37 AudioSystemImpl(AudioManager* audio_manager); 39 AudioSystemImpl(AudioManager* audio_manager);
38 40
39 private: 41 private:
40 base::SingleThreadTaskRunner* GetTaskRunner() const;
41
42 AudioManager* const audio_manager_; 42 AudioManager* const audio_manager_;
43 43
44 DISALLOW_COPY_AND_ASSIGN(AudioSystemImpl); 44 DISALLOW_COPY_AND_ASSIGN(AudioSystemImpl);
45 }; 45 };
46 46
47 } // namespace media 47 } // namespace media
48 48
49 #endif // MEDIA_AUDIO_AUDIO_SYSTEM_IMPL_H_ 49 #endif // MEDIA_AUDIO_AUDIO_SYSTEM_IMPL_H_
OLDNEW
« no previous file with comments | « media/audio/audio_system.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698