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

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

Issue 2799363005: Removing public access to AudioManager device info interface. (Closed)
Patch Set: rebase Created 3 years, 7 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_output_proxy_unittest.cc ('k') | media/audio/audio_system_impl.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 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 OnInputDeviceInfoCallback on_input_device_info_cb) override; 44 OnInputDeviceInfoCallback on_input_device_info_cb) override;
45 45
46 base::SingleThreadTaskRunner* GetTaskRunner() const override; 46 base::SingleThreadTaskRunner* GetTaskRunner() const override;
47 47
48 protected: 48 protected:
49 AudioSystemImpl(AudioManager* audio_manager); 49 AudioSystemImpl(AudioManager* audio_manager);
50 50
51 private: 51 private:
52 AudioManager* const audio_manager_; 52 AudioManager* const audio_manager_;
53 53
54 static AudioParameters GetInputParametersOnDeviceThread(
55 AudioManager* audio_manager,
56 const std::string& device_id);
57
58 static AudioParameters GetOutputParametersOnDeviceThread(
59 AudioManager* audio_manager,
60 const std::string& device_id);
61
62 static AudioDeviceDescriptions GetDeviceDescriptionsOnDeviceThread(
63 AudioManager* audio_manager,
64 bool for_input);
65
66 static void GetInputDeviceInfoOnDeviceThread(
67 AudioManager* audio_manager,
68 const std::string& input_device_id,
69 AudioSystem::OnInputDeviceInfoCallback on_input_device_info_cb);
70
54 DISALLOW_COPY_AND_ASSIGN(AudioSystemImpl); 71 DISALLOW_COPY_AND_ASSIGN(AudioSystemImpl);
55 }; 72 };
56 73
57 } // namespace media 74 } // namespace media
58 75
59 #endif // MEDIA_AUDIO_AUDIO_SYSTEM_IMPL_H_ 76 #endif // MEDIA_AUDIO_AUDIO_SYSTEM_IMPL_H_
OLDNEW
« no previous file with comments | « media/audio/audio_output_proxy_unittest.cc ('k') | media/audio/audio_system_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698