Add MP3 import (#6750)

This commit is contained in:
Lost Robot
2023-11-01 15:37:56 -07:00
committed by GitHub
parent 7b99c58926
commit fccbe5d517
5 changed files with 27 additions and 6 deletions

View File

@@ -231,8 +231,11 @@ bool DataFile::validate( QString extension )
{
return true;
}
if( extension == "wav" || extension == "ogg" ||
extension == "ds" )
if( extension == "wav" || extension == "ogg" || extension == "ds"
#ifdef LMMS_HAVE_SNDFILE_MP3
|| extension == "mp3"
#endif
)
{
return true;
}