Fix action playback source clock using controlled video decode
This commit is contained in:
@@ -11,7 +11,8 @@ class MediaPlayer {
|
||||
var isLooping = false; val looping get() = isLooping
|
||||
var volume = 1f; var released = false; var started = false
|
||||
val videoWidth = 480; val videoHeight = 848
|
||||
fun setSurface(surface: Surface) {}
|
||||
var videoSurface: Surface? = null
|
||||
fun setSurface(surface: Surface?) { videoSurface=surface }
|
||||
fun setVolume(left: Float,right: Float) { volume = left }
|
||||
fun setDataSource(fd: java.io.FileDescriptor, offset: Long,length: Long) {}
|
||||
fun setOnPreparedListener(callback: (MediaPlayer)->Unit) { prepared = callback }
|
||||
|
||||
Reference in New Issue
Block a user