private void addEntriesFromTag ( List < Entry > entries , RekordboxAnlz . CueTag tag ) { for ( RekordboxAnlz . CueEntry cueEntry : tag . cues ( ) ) { // TODO: Need to figure out how to identify deleted entries to ignore. if ( cueEntry . type ( ) == RekordboxAnlz . CueEntryType . LOOP ) { entries . add ( new Entry ( ( int ) cueEntry . hotCue ( ) , Util . timeToHalfFrame ( cueEntry . time ( ) ) , Util . timeToHalfFrame ( cueEntry . loopTime ( ) ) ) ) ; } else { entries . add ( new Entry ( ( int ) cueEntry . hotCue ( ) , Util . timeToHalfFrame ( cueEntry . time ( ) ) ) ) ; } } }
Helper method to add cue list entries from a parsed ANLZ cue tag