|
|
|
|
@ -53,6 +53,8 @@ void AnyImporter::doOpenFile(const std::string& filename) {
|
|
|
|
|
plugin = "VorbisAudioImporter"; |
|
|
|
|
else if(Utility::String::endsWith(filename, ".wav")) |
|
|
|
|
plugin = "WavAudioImporter"; |
|
|
|
|
else if(Utility::String::endsWith(filename, ".flac")) |
|
|
|
|
plugin = "FlacAudioImporter"; |
|
|
|
|
else { |
|
|
|
|
Error() << "Audio::AnyImporter::openFile(): cannot determine type of file" << filename; |
|
|
|
|
return; |
|
|
|
|
|