where_combo.set_active_text (str.back());
where_combo.signal_changed().connect (sigc::mem_fun (*this, &SoundFileOmega::where_combo_changed));
+ instrument_combo_changed();
+ instrument_combo.signal_changed().connect(sigc::mem_fun(*this, &SoundFileOmega::instrument_combo_changed) );
+
Label* l = manage (new Label);
l->set_markup (_("<b>Add files ...</b>"));
options.attach (*l, 0, 1, 0, 1, FILL, SHRINK, 8, 0);
preview.set_import_position(get_position());
}
+void
+SoundFileOmega::instrument_combo_changed()
+{
+ _session->the_auditioner()->set_audition_synth_info( instrument_combo.selected_instrument() );
+}
+
MidiTrackNameSource
SoundFileOmega::get_midi_track_name_source () const
{
static bool check_link_status (const ARDOUR::Session*, const std::vector<std::string>& paths);
+ void instrument_combo_changed ();
+
void file_selection_changed ();
bool reset_options ();
void reset_options_noret ();