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
46d1c53d
Commit
46d1c53d
authored
13 years ago
by
Glenn Kasten
Committed by
Android (Google) Code Review
13 years ago
Browse files
Options
Download
Plain Diff
Merge "Remove virtual from methods that don't need it"
parents
b47c7bed
c4374bd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
src/android/android_GenericPlayer.h
src/android/android_GenericPlayer.h
+8
-8
No files found.
src/android/android_GenericPlayer.h
View file @
46d1c53d
...
...
@@ -60,22 +60,22 @@ public:
GenericPlayer
(
const
AudioPlayback_Parameters
*
params
);
virtual
~
GenericPlayer
();
virtual
void
init
(
const
notif_cbf_t
cbf
,
void
*
notifUser
);
void
init
(
const
notif_cbf_t
cbf
,
void
*
notifUser
);
virtual
void
preDestroy
();
void
setDataSource
(
const
char
*
uri
);
void
setDataSource
(
int
fd
,
int64_t
offset
,
int64_t
length
,
bool
closeAfterUse
=
false
);
void
prepare
();
void
prepare
();
virtual
void
play
();
virtual
void
pause
();
virtual
void
stop
();
void
pause
();
void
stop
();
// timeMsec must be >= 0 or == ANDROID_UNKNOWN_TIME (used by StreamPlayer after discontinuity)
virtual
void
seek
(
int64_t
timeMsec
);
virtual
void
loop
(
bool
loop
);
virtual
void
setBufferingUpdateThreshold
(
int16_t
thresholdPercent
);
void
seek
(
int64_t
timeMsec
);
void
loop
(
bool
loop
);
void
setBufferingUpdateThreshold
(
int16_t
thresholdPercent
);
virtual
void
getDurationMsec
(
int
*
msec
);
//msec != NULL, ANDROID_UNKNOWN_TIME if unknown
void
getDurationMsec
(
int
*
msec
);
//msec != NULL, ANDROID_UNKNOWN_TIME if unknown
virtual
void
getPositionMsec
(
int
*
msec
)
=
0
;
//msec != NULL, ANDROID_UNKNOWN_TIME if unknown
virtual
void
setVideoSurfaceTexture
(
const
sp
<
ISurfaceTexture
>
&
surfaceTexture
)
{}
...
...
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