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

Unified Diff: samples/android_sample/jni/sound_service.h

Issue 11467028: Migrate files to embedder. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review fixes Created 7 years, 11 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 | « samples/android_sample/jni/resource.h ('k') | samples/android_sample/jni/sound_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/android_sample/jni/sound_service.h
diff --git a/samples/android_sample/jni/sound_service.h b/samples/android_sample/jni/sound_service.h
deleted file mode 100644
index 378a61d298703cd84a138ee3d98ce822ca073dde..0000000000000000000000000000000000000000
--- a/samples/android_sample/jni/sound_service.h
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef SOUND_SERVICE_H
-#define SOUND_SERVICE_H
-
-#include <android_native_app_glue.h>
-#include <SLES/OpenSLES.h>
-#include <SLES/OpenSLES_Android.h>
-#include <SLES/OpenSLES_AndroidConfiguration.h>
-#include "jni/types.h"
-
-class SoundService {
- public:
- explicit SoundService(android_app* application);
- int32_t Start();
- void Stop();
-
- int32_t PlayBackground(const char* path);
- void StopBackground();
-
- private:
- android_app* application_;
- SLObjectItf engine_;
- SLEngineItf engine_if_;
- SLObjectItf output_mix_;
- SLObjectItf background_player_;
- SLPlayItf background_player_if_;
- SLSeekItf background_player_seek_if_;
-};
-
-void PlayBackground(const char* path);
-void StopBackground();
-#endif
« no previous file with comments | « samples/android_sample/jni/resource.h ('k') | samples/android_sample/jni/sound_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698