mirror of https://github.com/stella-emu/stella.git
Merge branch 'release/6.0' of https://github.com/stella-emu/stella into release/6.0
This commit is contained in:
commit
228f57b108
|
@ -249,8 +249,10 @@ string SoundSDL2::about() const
|
|||
}
|
||||
buf << " Sample rate: " << uInt32(myHardwareSpec.freq) << endl
|
||||
<< " Frag size: " << uInt32(myHardwareSpec.samples) << endl
|
||||
<< " Buffer size: " << myAudioSettings.bufferSize() << endl
|
||||
<< " Head room: " << myAudioSettings.headroom() << endl
|
||||
<< " Head room: " << std::fixed << std::setprecision(1)
|
||||
<< (0.5 * myAudioSettings.headroom()) << " frames" << endl
|
||||
<< " Buffer size: " << std::fixed << std::setprecision(1)
|
||||
<< (0.5 * myAudioSettings.bufferSize()) << " frames" << endl
|
||||
<< " Resampling: ";
|
||||
switch (myAudioSettings.resamplingQuality()) {
|
||||
case AudioSettings::ResamplingQuality::nearestNeightbour:
|
||||
|
|
|
@ -219,8 +219,7 @@ void AudioDialog::saveConfig()
|
|||
audioSettings.setPreset(preset);
|
||||
|
||||
if (preset == AudioSettings::Preset::custom) {
|
||||
|
||||
// Fragsize
|
||||
// Fragsize
|
||||
audioSettings.setFragmentSize(myFragsizePopup->getSelectedTag().toInt());
|
||||
audioSettings.setSampleRate(myFreqPopup->getSelectedTag().toInt());
|
||||
audioSettings.setHeadroom(myHeadroomSlider->getValue());
|
||||
|
|
Loading…
Reference in New Issue