From: Giovanni Mascellani <gmascellani@codeweavers.com> They're not supposed to be supported by mmdevapi in the first place. --- dlls/winepulse.drv/pulse.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/dlls/winepulse.drv/pulse.c b/dlls/winepulse.drv/pulse.c index 953bc55ab81..d7a9985bb39 100644 --- a/dlls/winepulse.drv/pulse.c +++ b/dlls/winepulse.drv/pulse.c @@ -1028,19 +1028,6 @@ static HRESULT pulse_spec_from_waveformat(struct pulse_stream *stream, const WAV } break; } - case WAVE_FORMAT_ALAW: - case WAVE_FORMAT_MULAW: - if (fmt->wBitsPerSample != 8) { - FIXME("Unsupported bpp %u for LAW\n", fmt->wBitsPerSample); - return AUDCLNT_E_UNSUPPORTED_FORMAT; - } - if (fmt->nChannels != 1 && fmt->nChannels != 2) { - FIXME("Unsupported channels %u for LAW\n", fmt->nChannels); - return AUDCLNT_E_UNSUPPORTED_FORMAT; - } - stream->ss.format = fmt->wFormatTag == WAVE_FORMAT_MULAW ? PA_SAMPLE_ULAW : PA_SAMPLE_ALAW; - pa_channel_map_init_auto(&stream->map, fmt->nChannels, PA_CHANNEL_MAP_ALSA); - break; default: WARN("Unhandled tag %x\n", fmt->wFormatTag); return AUDCLNT_E_UNSUPPORTED_FORMAT; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10243