Cleanup
This commit is contained in:
parent
37db37bf1d
commit
73027462ec
@ -214,12 +214,8 @@ static int getNextTrack()
|
|||||||
return group->tracks[track->groupIndex + 1]->index;
|
return group->tracks[track->groupIndex + 1]->index;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("groupName %s : index %d\n", group->name, group->groupIndex);
|
|
||||||
|
|
||||||
groupIndex = group->groupIndex;
|
groupIndex = group->groupIndex;
|
||||||
|
|
||||||
printf("%d %d\n", groupIndex, trackData->groupCount);
|
|
||||||
|
|
||||||
// We are at the last track in the last group so just return the current one
|
// We are at the last track in the last group so just return the current one
|
||||||
|
|
||||||
if (groupIndex >= trackData->groupCount-1)
|
if (groupIndex >= trackData->groupCount-1)
|
||||||
@ -228,14 +224,7 @@ static int getNextTrack()
|
|||||||
// Get the next group and select the first track in it
|
// Get the next group and select the first track in it
|
||||||
|
|
||||||
group = &trackData->groups[groupIndex + 1];
|
group = &trackData->groups[groupIndex + 1];
|
||||||
printf("next group %s\n", group->name);
|
|
||||||
|
|
||||||
printf("newIndex %d\n", group->tracks[0]->index);
|
|
||||||
return group->tracks[0]->index;
|
return group->tracks[0]->index;
|
||||||
|
|
||||||
printf("should not be here\n");
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user