[PATCH v12 0/8] MR337: winepulse: Return device-specific values for GetMixFormat and GetDevicePeriod

Huw Davies (@huw) wine at gitlab.winehq.org
Tue Jul 5 14:57:13 CDT 2022


Huw Davies (@huw) commented about dlls/winepulse.drv/pulse.c:
>          pa_context_get_server(pulse_ctx),
>          pa_context_get_server_protocol_version(pulse_ctx));
>  
> -    pulse_probe_settings(1, NULL, &pulse_fmt[0], &pulse_def_period[0], &pulse_min_period[0]);
> -    pulse_probe_settings(0, NULL, &pulse_fmt[1], &pulse_def_period[1], &pulse_min_period[1]);
> -
Note sure why, but this commit is causing test failures for me:
```
tools/runtest -q -P wine -T . -M mmdevapi.dll -p dlls/mmdevapi/tests/mmdevapi_test.exe capture && touch dlls/mmdevapi/tests/capture.ok
014c:fixme:pulse:AudioClient_Initialize Unknown flags: ffffffff
capture.c:187: Test failed: GetNextPacketSize 0 vs. GCP 0
capture.c:190: Test failed: Valid IAudioCaptureClient_GetBuffer returns 08890001
capture.c:259: Test failed: GetNextPacketSize 0 vs. GetDevicePeriod 441
capture.c:288: Test failed: GCP 17199 vs. BufferSize 22050
make[1]: *** [Makefile:66651: dlls/mmdevapi/tests/capture.ok] Error 4
```

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/337#note_3386



More information about the wine-devel mailing list