Home | History | Annotate | Download | only in libmediaplayerservice

Lines Matching defs:MidiFile

0 /* MidiFile.cpp
19 #define LOG_TAG "MidiFile"
36 #include "MidiFile.h"
55 MidiFile::MidiFile() :
104 status_t MidiFile::initCheck()
110 MidiFile::~MidiFile() {
111 LOGV("MidiFile destructor");
115 status_t MidiFile::setDataSource(
117 LOGV("MidiFile::setDataSource url=%s", path);
146 status_t MidiFile::setDataSource(int fd, int64_t offset, int64_t length)
148 LOGV("MidiFile::setDataSource fd=%d", fd);
174 status_t MidiFile::prepare()
176 LOGV("MidiFile::prepare");
190 status_t MidiFile::prepareAsync()
192 LOGV("MidiFile::prepareAsync");
204 status_t MidiFile::start()
206 LOGV("MidiFile::start");
229 status_t MidiFile::stop()
231 LOGV("MidiFile::stop");
247 status_t MidiFile::seekTo(int position)
249 LOGV("MidiFile::seekTo %d", position);
269 status_t MidiFile::pause()
271 LOGV("MidiFile::pause");
284 bool MidiFile::isPlaying()
286 LOGV("MidiFile::isPlaying, mState=%d", int(mState));
291 status_t MidiFile::getCurrentPosition(int* position)
293 LOGV("MidiFile::getCurrentPosition");
306 status_t MidiFile::getDuration(int* duration)
309 LOGV("MidiFile::getDuration");
350 status_t MidiFile::release()
352 LOGV("MidiFile::release");
373 status_t MidiFile::reset()
375 LOGV("MidiFile::reset");
381 status_t MidiFile::reset_nosync()
383 LOGV("MidiFile::reset_nosync");
408 status_t MidiFile::setLooping(int loop)
410 LOGV("MidiFile::setLooping");
422 status_t MidiFile::createOutputTrack() {
430 int MidiFile::renderThread(void* p) {
432 return ((MidiFile*)p)->render();
435 int MidiFile::render() {
441 LOGV("MidiFile::render");
464 LOGV("MidiFile::render - signal wait");
466 LOGV("MidiFile::render - signal rx'd");
474 //LOGV("MidiFile::render - rendering audio");
487 // LOGV("MidiFile::render - updating state");
494 LOGV("MidiFile::render - create output track");
500 // LOGV("MidiFile::render - writing to audio output");
508 //LOGV("MidiFile::render - starting audio");
520 LOGV("MidiFile::render - stopped");
526 LOGE("MidiFile::render - error");
531 LOGV("MidiFile::render - paused");