revert 'testing' part of e0b14f: always showing the pgm-picker was an annoyance
This commit is contained in:
parent
baf2323798
commit
c8ed5fdef6
@ -861,17 +861,6 @@ TriggerClipPicker::audition (std::string const& path)
|
|||||||
r = boost::dynamic_pointer_cast<MidiRegion> (RegionFactory::create (boost::dynamic_pointer_cast<Source> (ms), plist, false));
|
r = boost::dynamic_pointer_cast<MidiRegion> (RegionFactory::create (boost::dynamic_pointer_cast<Source> (ms), plist, false));
|
||||||
assert (r);
|
assert (r);
|
||||||
|
|
||||||
#ifdef MIXBUS /* for testing */
|
|
||||||
if (!ms->has_pgm_change()) { //smf has no midi cc's, we might need to help the user pick one
|
|
||||||
if (_session && _session->the_auditioner ()) {
|
|
||||||
PluginInfoPtr p = _session->the_auditioner ()->get_audition_synth_info();
|
|
||||||
if (p->unique_id == "http://gareus.org/oss/lv2/gmsynth") {
|
|
||||||
audition_show_plugin_ui();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
SourceList srclist;
|
SourceList srclist;
|
||||||
boost::shared_ptr<AudioFileSource> afs;
|
boost::shared_ptr<AudioFileSource> afs;
|
||||||
|
Loading…
Reference in New Issue
Block a user