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

Unified Diff: chromecast/media/audio/cast_audio_manager.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromecast/media/audio/cast_audio_manager.h ('k') | media/audio/alsa/audio_manager_alsa.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/audio/cast_audio_manager.cc
diff --git a/chromecast/media/audio/cast_audio_manager.cc b/chromecast/media/audio/cast_audio_manager.cc
index 230a1f9695794b67d35ebe6b41bacda7112683cc..478ac0d8cb6f6bf7121118e1aad08389c27b0750 100644
--- a/chromecast/media/audio/cast_audio_manager.cc
+++ b/chromecast/media/audio/cast_audio_manager.cc
@@ -22,6 +22,8 @@ const int kDefaultSampleRate = 48000;
static const int kMinimumOutputBufferSize = 512;
static const int kMaximumOutputBufferSize = 8192;
static const int kDefaultOutputBufferSize = 2048;
+
+const char kAudioManagerName[] = "Cast";
DaleCurtis 2016/12/01 17:49:38 If there's only a single user of this it's general
Henrik Grunell 2016/12/02 08:40:27 Done.
} // namespace
namespace chromecast {
@@ -83,6 +85,10 @@ void CastAudioManager::GetAudioInputDeviceNames(
::media::CHANNEL_LAYOUT_STEREO, 48000, 16, 1024);
}
+const char* CastAudioManager::GetName() {
+ return kAudioManagerName;
+}
+
std::unique_ptr<MediaPipelineBackend>
CastAudioManager::CreateMediaPipelineBackend(
const MediaPipelineDeviceParams& params) {
« no previous file with comments | « chromecast/media/audio/cast_audio_manager.h ('k') | media/audio/alsa/audio_manager_alsa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698