Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- } else if (BURN_TYPE == 1) {
- sprintf(what, "AudioCD");
- total_vrcd = total = total_iso = total_audio = temp = 0;
- fStatusBar->SetBarColor(orange);
- if (fLeftList->CountItems() > 0) {
- LeftListItem* item1 = (LeftListItem*)fLeftList->ItemAt(0);
- LeftListItem* item2 = (LeftListItem*)fLeftList->ItemAt(1);
- if (item1->fIconBitmap == fLeftList->fAudioBitmap) {
- tracks = fLeftList->CountItems();
- for (i = 0; i < tracks; i++) {
- item1 = (LeftListItem*)fLeftList->ItemAt(i);
- f1.SetTo(&item1->fRef, B_READ_ONLY);
- f1.GetSize(&temp);
- total_audio += temp;
- angle_temp[i] = temp / 1024 / 1024;
- nrtracks++;
- }
- } else if (fLeftList->CountItems() > 1) {
- if (item2->fIconBitmap == fLeftList->fAudioBitmap) {
- tracks = fLeftList->CountItems();
- for (i = 1; i < tracks; i++) {
- item1 = (LeftListItem*)fLeftList->ItemAt(i);
- f1.SetTo(&item1->fRef, B_READ_ONLY);
- f1.GetSize(&temp);
- total_audio += temp;
- angle_temp[i - 1] = temp / 1024 / 1024;
- nrtracks++;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement