From 649d5af11a658904aa9256a2439d87ac4bbb7122 Mon Sep 17 00:00:00 2001 From: hap Date: Wed, 30 Apr 2025 16:04:10 +0200 Subject: [PATCH] Revert "device_mixer_interface: set samplerate to osd rate, like how it was before sound rewrite" This reverts commit 99fc7b2c7f45562a10dea68c754015c29173b537. --- src/emu/disound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/disound.cpp b/src/emu/disound.cpp index 151b072caa6..57fd6a9c030 100644 --- a/src/emu/disound.cpp +++ b/src/emu/disound.cpp @@ -366,7 +366,7 @@ void device_mixer_interface::interface_pre_start() u32 no = get_sound_requested_outputs(); u32 nc = ni > no ? ni : no; for(u32 i = 0; i != nc; i++) - stream_alloc(1, 1, device().machine().sample_rate()); + stream_alloc(1, 1, SAMPLE_RATE_ADAPTIVE); } void device_mixer_interface::sound_stream_update(sound_stream &stream)