On 23/01/2026 07:49, marcandre.lureau@redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
>
> Windows doesn't support modules, atm, but we can treat it as a regular
> audio unit regardless.
>
> MacOs does support module, so this is fine.
>
> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> ---
> audio/meson.build | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/audio/meson.build b/audio/meson.build
> index b2dca2c6409..23fb66d571f 100644
> --- a/audio/meson.build
> +++ b/audio/meson.build
> @@ -8,12 +8,11 @@ system_ss.add(files(
> # deprecated since v10.2, to be removed
> system_ss.add(files('audio-hmp-cmds.c', 'wavcapture.c'))
>
> -system_ss.add(when: coreaudio, if_true: files('coreaudio.m'))
> -system_ss.add(when: dsound, if_true: files('dsoundaudio.c', 'audio_win_int.c'))
> -
> audio_modules = {}
> foreach m : [
> ['alsa', alsa, files('alsaaudio.c')],
> + ['coreaudio', coreaudio, files('coreaudio.m')],
> + ['dsound', dsound, files('dsoundaudio.c', 'audio_win_int.c')],
> ['oss', oss, files('ossaudio.c')],
> ['pa', pulse, files('paaudio.c')],
> ['sdl', sdl, files('sdlaudio.c')],
Reviewed-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
ATB,
Mark.