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

Side by Side Diff: chromecast/media/audio/cast_audio_manager.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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CHROMECAST_MEDIA_AUDIO_CAST_AUDIO_MANAGER_H_ 5 #ifndef CHROMECAST_MEDIA_AUDIO_CAST_AUDIO_MANAGER_H_
6 #define CHROMECAST_MEDIA_AUDIO_CAST_AUDIO_MANAGER_H_ 6 #define CHROMECAST_MEDIA_AUDIO_CAST_AUDIO_MANAGER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "media/audio/audio_manager_base.h" 9 #include "media/audio/audio_manager_base.h"
10 10
(...skipping 23 matching lines...) Expand all
34 CastAudioMixer* audio_mixer); 34 CastAudioMixer* audio_mixer);
35 35
36 // AudioManager implementation. 36 // AudioManager implementation.
37 bool HasAudioOutputDevices() override; 37 bool HasAudioOutputDevices() override;
38 bool HasAudioInputDevices() override; 38 bool HasAudioInputDevices() override;
39 void ShowAudioInputSettings() override; 39 void ShowAudioInputSettings() override;
40 void GetAudioInputDeviceNames( 40 void GetAudioInputDeviceNames(
41 ::media::AudioDeviceNames* device_names) override; 41 ::media::AudioDeviceNames* device_names) override;
42 ::media::AudioParameters GetInputStreamParameters( 42 ::media::AudioParameters GetInputStreamParameters(
43 const std::string& device_id) override; 43 const std::string& device_id) override;
44 const char* GetName() override;
44 45
45 // AudioManagerBase implementation 46 // AudioManagerBase implementation
46 void ReleaseOutputStream(::media::AudioOutputStream* stream) override; 47 void ReleaseOutputStream(::media::AudioOutputStream* stream) override;
47 48
48 // This must be called on audio thread. 49 // This must be called on audio thread.
49 virtual std::unique_ptr<MediaPipelineBackend> CreateMediaPipelineBackend( 50 virtual std::unique_ptr<MediaPipelineBackend> CreateMediaPipelineBackend(
50 const MediaPipelineDeviceParams& params); 51 const MediaPipelineDeviceParams& params);
51 52
52 protected: 53 protected:
53 ~CastAudioManager() override; 54 ~CastAudioManager() override;
(...skipping 27 matching lines...) Expand all
81 std::unique_ptr<::media::AudioOutputStream> mixer_output_stream_; 82 std::unique_ptr<::media::AudioOutputStream> mixer_output_stream_;
82 std::unique_ptr<CastAudioMixer> mixer_; 83 std::unique_ptr<CastAudioMixer> mixer_;
83 84
84 DISALLOW_COPY_AND_ASSIGN(CastAudioManager); 85 DISALLOW_COPY_AND_ASSIGN(CastAudioManager);
85 }; 86 };
86 87
87 } // namespace media 88 } // namespace media
88 } // namespace chromecast 89 } // namespace chromecast
89 90
90 #endif // CHROMECAST_MEDIA_AUDIO_CAST_AUDIO_MANAGER_H_ 91 #endif // CHROMECAST_MEDIA_AUDIO_CAST_AUDIO_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/media/webrtc/webrtc_text_log_handler.cc ('k') | chromecast/media/audio/cast_audio_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698