Skip to content

Commit

Permalink
Update AudioFile.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
KaixoCode committed May 21, 2024
1 parent 0dd96ad commit debd403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Kaixo/Utils/AudioFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace Kaixo {
// ------------------------------------------------

FileLoadStatus AudioFile::open(std::filesystem::path f, std::size_t bitDepth, double sampleRate) {
auto res = decode(buffer, f, 48000 * 32, bitDepth, sampleRate);
auto res = decode(buffer, f, npos, bitDepth, sampleRate);
if (res == FileLoadStatus::Success) {
changed = false;
path = f;
Expand Down

0 comments on commit debd403

Please sign in to comment.