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

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

Issue 12387006: Pass more detailed audio hardware configuration information to the renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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
Index: media/audio/mac/audio_unified_mac.h
===================================================================
--- media/audio/mac/audio_unified_mac.h (revision 185058)
+++ media/audio/mac/audio_unified_mac.h (working copy)
@@ -44,6 +44,17 @@
int input_channels() const { return input_channels_; }
int output_channels() const { return output_channels_; }
+ static bool GetDefaultOutputDevice(AudioDeviceID* device);
+
+ static bool GetDefaultOutputChannels(int* channels,
+ int* channels_per_frame);
+
+ static bool GetDeviceChannels(AudioDeviceID device,
+ AudioObjectPropertyScope scope,
+ int* channels,
+ int* channels_per_frame);
+
+
private:
OSStatus Render(AudioDeviceID device,
const AudioTimeStamp* now,

Powered by Google App Engine
This is Rietveld 408576698