Give a better message to warn of unsupported MIDI file audition.

git-svn-id: svn://localhost/ardour2/branches/3.0@7121 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-05-19 23:36:40 +00:00
parent 03bed9a8cb
commit ed74a89820

View File

@ -308,6 +308,11 @@ SoundFileBox::audition ()
return;
}
if (SMFSource::safe_midi_file_extension (path)) {
error << _("Auditioning of MIDI files is not yet supported") << endmsg;
return;
}
_session->cancel_audition();
if (!Glib::file_test (path, Glib::FILE_TEST_EXISTS)) {