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

Side by Side Diff: media/audio/android/audio_manager_android.h

Issue 2538793002: Log audio system used to WebRTC log. (Closed)
Patch Set: Code review. Created 4 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
« no previous file with comments | « media/audio/alsa/audio_manager_alsa.cc ('k') | media/audio/android/audio_manager_android.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_ANDROID_AUDIO_MANAGER_ANDROID_H_ 5 #ifndef MEDIA_AUDIO_ANDROID_AUDIO_MANAGER_ANDROID_H_
6 #define MEDIA_AUDIO_ANDROID_AUDIO_MANAGER_ANDROID_H_ 6 #define MEDIA_AUDIO_ANDROID_AUDIO_MANAGER_ANDROID_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
(...skipping 27 matching lines...) Expand all
38 AudioOutputStream* MakeAudioOutputStream( 38 AudioOutputStream* MakeAudioOutputStream(
39 const AudioParameters& params, 39 const AudioParameters& params,
40 const std::string& device_id, 40 const std::string& device_id,
41 const LogCallback& log_callback) override; 41 const LogCallback& log_callback) override;
42 AudioInputStream* MakeAudioInputStream( 42 AudioInputStream* MakeAudioInputStream(
43 const AudioParameters& params, 43 const AudioParameters& params,
44 const std::string& device_id, 44 const std::string& device_id,
45 const LogCallback& log_callback) override; 45 const LogCallback& log_callback) override;
46 void ReleaseOutputStream(AudioOutputStream* stream) override; 46 void ReleaseOutputStream(AudioOutputStream* stream) override;
47 void ReleaseInputStream(AudioInputStream* stream) override; 47 void ReleaseInputStream(AudioInputStream* stream) override;
48 const char* GetName() override;
48 49
49 // Implementation of AudioManagerBase. 50 // Implementation of AudioManagerBase.
50 AudioOutputStream* MakeLinearOutputStream( 51 AudioOutputStream* MakeLinearOutputStream(
51 const AudioParameters& params, 52 const AudioParameters& params,
52 const LogCallback& log_callback) override; 53 const LogCallback& log_callback) override;
53 AudioOutputStream* MakeLowLatencyOutputStream( 54 AudioOutputStream* MakeLowLatencyOutputStream(
54 const AudioParameters& params, 55 const AudioParameters& params,
55 const std::string& device_id, 56 const std::string& device_id,
56 const LogCallback& log_callback) override; 57 const LogCallback& log_callback) override;
57 AudioInputStream* MakeLinearInputStream( 58 AudioInputStream* MakeLinearInputStream(
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // If set, overrides volume level on output streams 108 // If set, overrides volume level on output streams
108 bool output_volume_override_set_; 109 bool output_volume_override_set_;
109 double output_volume_override_; 110 double output_volume_override_;
110 111
111 DISALLOW_COPY_AND_ASSIGN(AudioManagerAndroid); 112 DISALLOW_COPY_AND_ASSIGN(AudioManagerAndroid);
112 }; 113 };
113 114
114 } // namespace media 115 } // namespace media
115 116
116 #endif // MEDIA_AUDIO_ANDROID_AUDIO_MANAGER_ANDROID_H_ 117 #endif // MEDIA_AUDIO_ANDROID_AUDIO_MANAGER_ANDROID_H_
OLDNEW
« no previous file with comments | « media/audio/alsa/audio_manager_alsa.cc ('k') | media/audio/android/audio_manager_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698