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

Unified Diff: media/audio/audio_manager_base.h

Issue 236123002: Allow pass through buffer sizes on OSX. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments. Created 6 years, 8 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/audio_manager_base.h
diff --git a/media/audio/audio_manager_base.h b/media/audio/audio_manager_base.h
index 237eaeedd219ee94ad0fddf3d607fab4967e8ca0..bc13ee5a1677b46c89d08d47321b23bcd59606d8 100644
--- a/media/audio/audio_manager_base.h
+++ b/media/audio/audio_manager_base.h
@@ -115,6 +115,10 @@ class MEDIA_EXPORT AudioManagerBase : public AudioManager {
virtual scoped_ptr<AudioLog> CreateAudioLog(
AudioLogFactory::AudioComponent component) OVERRIDE;
+ // Get number of input or output streams.
+ int input_stream_count() const { return num_input_streams_; }
+ int output_stream_count() const { return num_output_streams_; }
+
protected:
AudioManagerBase(AudioLogFactory* audio_log_factory);
@@ -150,10 +154,6 @@ class MEDIA_EXPORT AudioManagerBase : public AudioManager {
// Implementations that don't yet support this should return an empty string.
virtual std::string GetDefaultOutputDeviceID();
- // Get number of input or output streams.
- int input_stream_count() { return num_input_streams_; }
- int output_stream_count() { return num_output_streams_; }
-
private:
struct DispatcherParams;
typedef ScopedVector<DispatcherParams> AudioOutputDispatchers;
« 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