Skip to content

Commit debd403

Browse files
committed
Update AudioFile.cpp
1 parent 0dd96ad commit debd403

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/Kaixo/Utils/AudioFile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace Kaixo {
1515
// ------------------------------------------------
1616

1717
FileLoadStatus AudioFile::open(std::filesystem::path f, std::size_t bitDepth, double sampleRate) {
18-
auto res = decode(buffer, f, 48000 * 32, bitDepth, sampleRate);
18+
auto res = decode(buffer, f, npos, bitDepth, sampleRate);
1919
if (res == FileLoadStatus::Success) {
2020
changed = false;
2121
path = f;

0 commit comments

Comments
 (0)