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

@@ -69,6 +69,8 @@ void brain::load_sound(std::string filename, stereo_mode mode) {
delete[] temp;
m_samples.push_back(sound(filename,s));
status::update("loaded %s",filename.c_str());
} else {
status::update("problem loading %s",filename.c_str());
}
}