Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
frameworks_wilhelm
Commits
01e4a8ff
Commit
01e4a8ff
authored
13 years ago
by
Mathias Agopian
Browse files
Options
Download
Email Patches
Plain Diff
cleanup includes
Change-Id: Ia98b76b2e0c49ee257e1f31c61c2d6f72a9fe894
parent
750c5c1c
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
11 deletions
+9
-11
src/android/MediaPlayer_to_android.cpp
src/android/MediaPlayer_to_android.cpp
+4
-2
src/android/MediaPlayer_to_android.h
src/android/MediaPlayer_to_android.h
+1
-3
src/android/android_GenericMediaPlayer.cpp
src/android/android_GenericMediaPlayer.cpp
+2
-2
src/android/android_GenericMediaPlayer.h
src/android/android_GenericMediaPlayer.h
+0
-1
src/objects/CMediaPlayer.c
src/objects/CMediaPlayer.c
+0
-1
tests/sandbox/nativewindow.cpp
tests/sandbox/nativewindow.cpp
+2
-2
No files found.
src/android/MediaPlayer_to_android.cpp
View file @
01e4a8ff
...
...
@@ -14,15 +14,17 @@
* limitations under the License.
*/
#include <system/window.h>
#include <utils/StrongPointer.h>
#include <gui/Surface.h>
#include "sles_allinclusive.h"
#include "utils/RefBase.h"
#include "android_prompts.h"
// LocAVPlayer and StreamPlayer derive from GenericMediaPlayer,
// so no need to #include "android_GenericMediaPlayer.h"
#include "android_LocAVPlayer.h"
#include "android_StreamPlayer.h"
//-----------------------------------------------------------------------------
static
void
player_handleMediaPlayerEventNotifications
(
int
event
,
int
data1
,
int
data2
,
void
*
user
)
{
...
...
This diff is collapsed.
Click to expand it.
src/android/MediaPlayer_to_android.h
View file @
01e4a8ff
...
...
@@ -14,9 +14,7 @@
* limitations under the License.
*/
#include <surfaceflinger/Surface.h>
#include <gui/ISurfaceTexture.h>
#include <system/window.h>
/**************************************************************************************************
* Player lifecycle
...
...
This diff is collapsed.
Click to expand it.
src/android/android_GenericMediaPlayer.cpp
View file @
01e4a8ff
...
...
@@ -19,9 +19,9 @@
#include "sles_allinclusive.h"
#include "android_GenericMediaPlayer.h"
#include <system/window.h>
#include <media/IMediaPlayerService.h>
#include <surfaceflinger/ISurfaceComposer.h>
#include <surfaceflinger/SurfaceComposerClient.h>
#include <media/stagefright/foundation/ADebug.h>
#include <media/mediaplayer.h> // media_event_type media_error_type media_info_type
...
...
This diff is collapsed.
Click to expand it.
src/android/android_GenericMediaPlayer.h
View file @
01e4a8ff
...
...
@@ -20,7 +20,6 @@
#include "android_GenericPlayer.h"
#include <binder/IServiceManager.h>
#include <surfaceflinger/Surface.h>
#include <gui/ISurfaceTexture.h>
...
...
This diff is collapsed.
Click to expand it.
src/objects/CMediaPlayer.c
View file @
01e4a8ff
...
...
@@ -19,7 +19,6 @@
#include "sles_allinclusive.h"
#ifdef ANDROID
#include <gui/SurfaceTextureClient.h>
#include "android/android_GenericMediaPlayer.h"
using
namespace
android
;
#endif
...
...
This diff is collapsed.
Click to expand it.
tests/sandbox/nativewindow.cpp
View file @
01e4a8ff
...
...
@@ -20,8 +20,8 @@
// that are not part of the NDK supported APIs, and are subject to change at any time.
#include <binder/ProcessState.h>
#include <
surfaceflinger/ISurfaceComposer
.h>
#include <
surfaceflinger
/SurfaceComposerClient.h>
#include <
gui/Surface
.h>
#include <
gui
/SurfaceComposerClient.h>
#include <utils/String8.h>
#include "nativewindow.h"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment