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

Unified Diff: media/audio/mac/audio_manager_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, 9 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_manager_mac.h
===================================================================
--- media/audio/mac/audio_manager_mac.h (revision 186233)
+++ media/audio/mac/audio_manager_mac.h (working copy)
@@ -38,6 +38,16 @@
virtual AudioInputStream* MakeLowLatencyInputStream(
const AudioParameters& params, const std::string& device_id) OVERRIDE;
+ 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);
+
protected:
virtual ~AudioManagerMac();

Powered by Google App Engine
This is Rietveld 408576698