Пример #1
0
void MusikTagFrame::CheckChangesBatch()
{
    long nTrackNum;
    tcTrackNum->GetValue().ToLong( &nTrackNum );
    for ( size_t j = 0; j < m_arrSongsSelected.GetCount(); j++ )
	{
        if(chkIncrementalTrackNum->IsChecked())
            tcTrackNum->SetValue(wxString() << nTrackNum++);
        SaveSong(m_arrSongsSelected[j]);
	}
}
Пример #2
0
void SaveRoot(struct Root *theroot){
DC_start("ROOT");

//	DC_SSN("def_instrument",theroot->def_instrument->l.num);
	DC_SSN("curr_block",theroot->curr_block);
	DC_SSI("tempo",theroot->tempo);
	DC_SSI("lpb",theroot->lpb);
        DC_SSI("signature_numerator",theroot->signature.numerator);
        DC_SSI("signature_denominator",theroot->signature.denominator);
	DC_SSI("quantitize_numerator",theroot->quantitize_options.quant.numerator);
        DC_SSI("quantitize_denominator",theroot->quantitize_options.quant.denominator);
        DC_SSF("quantitize",(double)theroot->quantitize_options.quant.numerator / (double)theroot->quantitize_options.quant.denominator);
	DC_SSI("grid_numerator",theroot->grid_numerator);
	DC_SSI("grid_denominator",theroot->grid_denominator);
	DC_SSI("keyoct",theroot->keyoct);
	DC_SSI("min_standardvel",theroot->min_standardvel);
	DC_SSI("standardvel",theroot->standardvel);

	SaveSong(theroot->song);

DC_end();
}
Пример #3
0
void MusikTagFrame::SaveCurSong()
{
	SaveSong(nIndex);
}