We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f704a9e commit 8ff30f8Copy full SHA for 8ff30f8
win32/dll/winmm/src/wave.rs
@@ -200,12 +200,6 @@ pub fn waveOutOpen(
200
dwInstance: u32,
201
fdwOpen: WaveOutOpenFlags,
202
) -> MMRESULT {
203
- if !get_state(sys).audio_enabled {
204
- // Note that pocoman doesn't call waveOutGetNumDevs, but just directly calls
205
- // waveOutOpen and decides whether to do sound based on whether it succeeds.
206
- return MMRESULT::MMSYSERR_NOTENABLED;
207
- }
208
-
209
let host_ready = Event::new(Some("winmm host ready".into()), false, true);
210
211
let fmt = pwfx.unwrap();
0 commit comments