added more soundfile formats to the loading dialog and new error report when it can't load

This commit is contained in:
Dave Griffiths
2022-10-14 20:30:12 +01:00
parent b5fd6dd3e0
commit e1c8e0ea67
3 changed files with 23 additions and 22 deletions

View File

@ -31,7 +31,8 @@ MainWindow::MainWindow(const string &port, const string &audio_port, const strin
m_last_file("."),
m_feedback(port),
m_audio_port(audio_port),
m_process_port(process_port)
m_process_port(process_port),
m_format_string("Microsoft WAV (*.wav);;SGI/Apple AIFF (*.aiff);;SGI/Apple AIFC (*.aifc);;Sun/DEC/NeXT AU (*.au);;Sun/DEC/NeXT SND (*.snd);;Fasttracker 2 XI (*.xi);;All files (*.*)")
{
m_sound_item_enable_mapper = new QSignalMapper(this);
m_sound_item_delete_mapper = new QSignalMapper(this);