feat: SAF file picker, fd to jni code
This commit is contained in:
@@ -74,3 +74,11 @@ PlaybackEngine::~PlaybackEngine() {
|
||||
void PlaybackEngine::playBeat() {
|
||||
if(mPlayer) mPlayer->setStartBeat();
|
||||
}
|
||||
|
||||
void PlaybackEngine::playMusic(int fd) {
|
||||
//if(mPlayer) mPlayer->playMusic();
|
||||
// TODO: fd is opened; dispose of fd when stopping or being discarded ...
|
||||
LOGI("PlaybackEngine::playMusic(fd=%d)", fd);
|
||||
close(fd); // for now, nothing is implemented. we just close it again.
|
||||
// we will use mp3file_open_fd() later.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user