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

Unified Diff: runtime/embedders/openglui/android/android_sound_handler.h

Issue 12340036: Android improvements: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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: runtime/embedders/openglui/android/android_sound_handler.h
===================================================================
--- runtime/embedders/openglui/android/android_sound_handler.h (revision 18917)
+++ runtime/embedders/openglui/android/android_sound_handler.h (working copy)
@@ -20,6 +20,8 @@
explicit AndroidSoundHandler(android_app* application);
int32_t Start();
void Stop();
+ int32_t Pause();
+ int32_t Resume();
int32_t PlayBackground(const char* path);
void StopBackground();
@@ -34,6 +36,7 @@
SLObjectItf& player_out,
SLPlayItf& player_if_out);
+ int32_t SetBackgroundPlayerState(int state);
int32_t StartSamplePlayer();
android_app* application_;

Powered by Google App Engine
This is Rietveld 408576698