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

Side by Side Diff: chromecast/media/audio/cast_audio_manager.h

Issue 1864483002: Forward output glitch information from stream WebRTC log (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 6 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 | « no previous file | chromecast/media/audio/cast_audio_manager.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 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 27 matching lines...) Expand all
38 // This must be called on audio thread. 38 // This must be called on audio thread.
39 virtual std::unique_ptr<MediaPipelineBackend> CreateMediaPipelineBackend( 39 virtual std::unique_ptr<MediaPipelineBackend> CreateMediaPipelineBackend(
40 const MediaPipelineDeviceParams& params); 40 const MediaPipelineDeviceParams& params);
41 41
42 protected: 42 protected:
43 ~CastAudioManager() override; 43 ~CastAudioManager() override;
44 44
45 private: 45 private:
46 // AudioManagerBase implementation. 46 // AudioManagerBase implementation.
47 ::media::AudioOutputStream* MakeLinearOutputStream( 47 ::media::AudioOutputStream* MakeLinearOutputStream(
48 const ::media::AudioParameters& params) override; 48 const ::media::AudioParameters& params,
49 const ::media::AudioManager::LogCallback& log_callback) override;
49 ::media::AudioOutputStream* MakeLowLatencyOutputStream( 50 ::media::AudioOutputStream* MakeLowLatencyOutputStream(
50 const ::media::AudioParameters& params, 51 const ::media::AudioParameters& params,
51 const std::string& device_id) override; 52 const std::string& device_id,
53 const ::media::AudioManager::LogCallback& log_callback) override;
52 ::media::AudioInputStream* MakeLinearInputStream( 54 ::media::AudioInputStream* MakeLinearInputStream(
53 const ::media::AudioParameters& params, 55 const ::media::AudioParameters& params,
54 const std::string& device_id) override; 56 const std::string& device_id,
57 const ::media::AudioManager::LogCallback& log_callback) override;
55 ::media::AudioInputStream* MakeLowLatencyInputStream( 58 ::media::AudioInputStream* MakeLowLatencyInputStream(
56 const ::media::AudioParameters& params, 59 const ::media::AudioParameters& params,
57 const std::string& device_id) override; 60 const std::string& device_id,
61 const ::media::AudioManager::LogCallback& log_callback) override;
58 ::media::AudioParameters GetPreferredOutputStreamParameters( 62 ::media::AudioParameters GetPreferredOutputStreamParameters(
59 const std::string& output_device_id, 63 const std::string& output_device_id,
60 const ::media::AudioParameters& input_params) override; 64 const ::media::AudioParameters& input_params) override;
61 65
62 MediaPipelineBackendManager* const backend_manager_; 66 MediaPipelineBackendManager* const backend_manager_;
63 67
64 DISALLOW_COPY_AND_ASSIGN(CastAudioManager); 68 DISALLOW_COPY_AND_ASSIGN(CastAudioManager);
65 }; 69 };
66 70
67 } // namespace media 71 } // namespace media
68 } // namespace chromecast 72 } // namespace chromecast
69 73
70 #endif // CHROMECAST_MEDIA_AUDIO_CAST_AUDIO_MANAGER_H_ 74 #endif // CHROMECAST_MEDIA_AUDIO_CAST_AUDIO_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | chromecast/media/audio/cast_audio_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698