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

Unified Diff: media/audio/mac/audio_auhal_mac.h

Issue 2683033003: Tell CoreAudio how to interpret Chrome's channel layout. (Closed)
Patch Set: Fix 8ch+ discrete layouts. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/audio/mac/audio_auhal_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/mac/audio_auhal_mac.h
diff --git a/media/audio/mac/audio_auhal_mac.h b/media/audio/mac/audio_auhal_mac.h
index 146c492cdf7c75afef1fc69f3795439b0c54313d..14d78c41b2ff79ab45c048ec29ccdaa54eb38d6a 100644
--- a/media/audio/mac/audio_auhal_mac.h
+++ b/media/audio/mac/audio_auhal_mac.h
@@ -141,6 +141,10 @@ class AUHALStream : public AudioOutputStream {
// Called from the dtor and when the stream is reset.
void ReportAndResetStats();
+ // Converts |params_.channel_layout()| into CoreAudio format and sets up the
+ // AUHAL with our layout information so it knows how to remap the channels.
+ void SetAudioChannelLayout();
+
// Our creator, the audio manager needs to be notified when we close.
AudioManagerMac* const manager_;
« no previous file with comments | « no previous file | media/audio/mac/audio_auhal_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698