Skip to content

Commit 7612fc7

Browse files
committed
Fixed bit depth and sample rate not being used
1 parent 33d50ad commit 7612fc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/Kaixo/SpectralRotator/Gui/SpectralFileViewer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ namespace Kaixo::Gui {
124124
m_SpectralViewer->fileWillProbablyChangeSoon();
125125
} else {
126126
m_NonAudioLoadPopupView->open([&, path](std::size_t bitDepth, double sampleRate) {
127-
m_FileLoadFuture = settings.file->openFile(path);
127+
m_FileLoadFuture = settings.file->openFile(path, bitDepth, sampleRate);
128128
m_SpectralViewer->fileWillProbablyChangeSoon();
129129
});
130130
}

0 commit comments

Comments
 (0)