.flac extension

This commit is contained in:
Alex 2024-01-26 13:31:36 -05:00
parent 7af802ff24
commit bc1ebfc3bc

View File

@ -147,7 +147,7 @@ public:
else else
{ {
// if there is no wav file, try flac file // if there is no wav file, try flac file
const auto flacFile = m_asset_search_path->Open(soundFilePath + ".wav"); const auto flacFile = m_asset_search_path->Open(soundFilePath + ".flac");
if (flacFile.IsOpen()) if (flacFile.IsOpen())
{ {
soundSize = static_cast<size_t>(flacFile.m_length); soundSize = static_cast<size_t>(flacFile.m_length);