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

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

Issue 12414005: Add MODIFY_AUDIO_SETTINGS permission in Android manifest and implementation in opensl. (Closed) Base URL: https://src.chromium.org/svn/trunk/src/
Patch Set: Add MODIFY_AUDIO_SETTINGS and implementation. 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
« no previous file with comments | « content/shell/android/shell_apk/AndroidManifest.xml ('k') | media/audio/android/opensles_output.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/android/opensles_output.h
===================================================================
--- media/audio/android/opensles_output.h (revision 186971)
+++ media/audio/android/opensles_output.h (working copy)
@@ -5,13 +5,16 @@
#ifndef MEDIA_AUDIO_ANDROID_OPENSLES_OUTPUT_H_
#define MEDIA_AUDIO_ANDROID_OPENSLES_OUTPUT_H_
-#include <vector>
+#include <jni.h>
+#include "base/android/jni_android.h"
#include "base/compiler_specific.h"
#include "media/audio/android/opensles_util.h"
#include "media/audio/audio_io.h"
#include "media/audio/audio_parameters.h"
+
#include <SLES/OpenSLES_Android.h>
+#include <SLES/OpenSLES_AndroidConfiguration.h>
namespace media {
@@ -52,6 +55,7 @@
// If OpenSLES reports an error this function handles it and passes it to
// the attached AudioOutputCallback::OnError().
void HandleError(SLresult error);
+ void SetAudioMode();
AudioManagerAndroid* audio_manager_;
« no previous file with comments | « content/shell/android/shell_apk/AndroidManifest.xml ('k') | media/audio/android/opensles_output.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698