Skip to content

Commit

Permalink
Update src/preferences/dialog/dlgprefsound.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Swiftb0y <12380386+Swiftb0y@users.noreply.github.com>
  • Loading branch information
fwcd and Swiftb0y authored Sep 9, 2023
1 parent e5cb7cb commit 57e4ec3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/preferences/dialog/dlgprefsound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -608,8 +608,9 @@ void DlgPrefSound::updateAudioBufferSizes(int sampleRateIndex) {
static_cast<unsigned int>(SoundManagerConfig::
JackAudioBufferSizeIndex::Size4096fpp));
} else {
DEBUG_ASSERT(sampleRateComboBox->itemData(sampleRateIndex).canConvert<mixxx::audio::SampleRate>());
double sampleRate = sampleRateComboBox->itemData(sampleRateIndex)
.value<mixxx::audio::SampleRate>();
.value<mixxx::audio::SampleRate>().toDouble();
unsigned int framesPerBuffer = 1; // start this at 0 and inf loop happens
// we don't want to display any sub-1ms buffer sizes (well maybe we do but I
// don't right now!), so we iterate over all the buffer sizes until we
Expand Down

0 comments on commit 57e4ec3

Please sign in to comment.