int idx = ma_gui->mtrack_list->get_selection_number(0, 0);
int midx = mmixer_of(idx);
EDL *edl = mwindow->edl;
int idx = ma_gui->mtrack_list->get_selection_number(0, 0);
int midx = mmixer_of(idx);
EDL *edl = mwindow->edl;
int idx = ma_gui->mtrack_list->get_selection_number(0, 0);
int midx = mmixer_of(idx);
EDL *edl = mwindow->edl;
int idx = ma_gui->mtrack_list->get_selection_number(0, 0);
int midx = mmixer_of(idx);
EDL *edl = mwindow->edl;
ma_gui->undo->add_undo_item(undo_edls.size());
EDL *undo_edl = new EDL();
undo_edl->create_objects();
undo_edl->copy_all(mwindow->edl);
undo_edls.append(undo_edl);
ma_gui->undo->add_undo_item(undo_edls.size());
EDL *undo_edl = new EDL();
undo_edl->create_objects();
undo_edl->copy_all(mwindow->edl);
undo_edls.append(undo_edl);
EDL *edl = mwindow->edl;
mwindow->edl = undo_edls[0];
mwindow->undo_before();
mwindow->edl = edl;
mwindow->undo_after(_("align mixers"), LOAD_ALL);
EDL *edl = mwindow->edl;
mwindow->edl = undo_edls[0];
mwindow->undo_before();
mwindow->edl = edl;
mwindow->undo_after(_("align mixers"), LOAD_ALL);
Mixers &edl_mixers = mwindow->edl->mixers;
for( int i=0; i<edl_mixers.size(); ++i )
mixers.append(new MixersAlignMixer(edl_mixers[i]));
Mixers &edl_mixers = mwindow->edl->mixers;
for( int i=0; i<edl_mixers.size(); ++i )
mixers.append(new MixersAlignMixer(edl_mixers[i]));
Track *track=mwindow->edl->tracks->first;
for( int no=0; track; ++no, track=track->next ) {
if( track->data_type != TRACK_AUDIO ) continue;
Track *track=mwindow->edl->tracks->first;
for( int no=0; track; ++no, track=track->next ) {
if( track->data_type != TRACK_AUDIO ) continue;
Track *track=mwindow->edl->tracks->first;
for( int no=0; track; ++no, track=track->next ) {
if( track->data_type != TRACK_AUDIO ) continue;
Track *track=mwindow->edl->tracks->first;
for( int no=0; track; ++no, track=track->next ) {
if( track->data_type != TRACK_AUDIO ) continue;
-printf("targ %s:%d at %jd,ss=%f sd2=%f\n",
- scan->pkg->mixer->mixer->title, ch, scan->pos, ss, sd2);
+//printf("targ %s:%d at %jd,ss=%f sd2=%f\n",
+// scan->pkg->mixer->mixer->title, ch, scan->pos, ss, sd2);
double *best = pkg->best;
int i = 0, len = targ->len;
while( i < len1 ) best[i++] = *data++;
double *best = pkg->best;
int i = 0, len = targ->len;
while( i < len1 ) best[i++] = *data++;
-printf("best %d: %f at %jd\n", get_package_number(), mx, mi);
+//printf("best %d: %f at %jd\n", get_package_number(), mx, mi);