Search in sources :

Example 1 with SidFileInfo

use of se.light.assembly64.model.SidFileInfo in project assembly64fx by freabemania.

the class SidifyMainContoller method getSongIndex.

private int getSongIndex(SidTune sidTune) {
    SidFileInfo sidFileInfo = playListService.getSidFileInfo(sidTune);
    if (currentSubsongT >= sidFileInfo.getNofRelevantSongs() || currentSubsongT <= 0) {
        currentSubsongT = 0;
    }
    int idx = sidFileInfo.getRelevantIndexes().get(currentSubsongT);
    return idx;
}
Also used : SidFileInfo(se.light.assembly64.model.SidFileInfo)

Aggregations

SidFileInfo (se.light.assembly64.model.SidFileInfo)1