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

Unified Diff: media/audio/android/audio_manager_android.h

Issue 15217002: Using native sampling rate and optimal buffer size for audio on Android. (Closed) Base URL: https://src.chromium.org/svn/trunk/src/
Patch Set: change func name Created 7 years, 7 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/android/audio_manager_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/android/audio_manager_android.h
===================================================================
--- media/audio/android/audio_manager_android.h (revision 201553)
+++ media/audio/android/audio_manager_android.h (working copy)
@@ -53,6 +53,9 @@
void RegisterHeadsetReceiver();
void UnregisterHeadsetReceiver();
int GetNativeOutputSampleRate();
+ bool IsAudioLowLatencySupported();
+ int GetAudioLowLatencyOutputFrameSize();
+ int GetOptimalOutputFrameSize(int sample_rate, int channels);
// Java AudioManager instance.
base::android::ScopedJavaGlobalRef<jobject> j_audio_manager_;
« no previous file with comments | « no previous file | media/audio/android/audio_manager_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698