void ymMusicSeek(YMMUSIC *_pMus, ymu32 timeInMs) { CYmMusic *pMusic = (CYmMusic*)_pMus; if (pMusic->isSeekable()) { pMusic->setMusicTime(timeInMs); } }
unsigned int ymMusicGetPos(YMMUSIC *_pMus) { CYmMusic *pMusic = (CYmMusic*)_pMus; if (!pMusic->isSeekable()) return 0; return pMusic->getPos(); }
ymbool ymMusicIsSeekable(YMMUSIC *_pMus) { CYmMusic *pMusic = (CYmMusic*)_pMus; return pMusic->isSeekable() ? YMTRUE : YMFALSE; }