Skip to content

Commit

Permalink
ao_alsa: modularize
Browse files Browse the repository at this point in the history
  • Loading branch information
t-8ch committed Jan 19, 2023
1 parent ac263f9 commit 3133aef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion audio/out/ao.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ static struct mp_module audio_out_drivers[] = {
MP_MODULE_MODULAR("pulse", audio_out_pulse),
#endif
#if HAVE_ALSA
MP_MODULE_BUILTIN(audio_out_alsa),
MP_MODULE_MODULAR("alsa", audio_out_alsa),
#endif
#if HAVE_WASAPI
MP_MODULE_BUILTIN(audio_out_wasapi),
Expand Down
3 changes: 1 addition & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -785,8 +785,7 @@ endif
alsa = dependency('alsa', version: '>= 1.0.18', required: get_option('alsa'))
features += {'alsa': alsa.found()}
if features['alsa']
dependencies += alsa
sources += files('audio/out/ao_alsa.c')
modules += [['ao-alsa', ['audio/out/ao_alsa.c'], [alsa]]]
endif

audiounit = {
Expand Down

0 comments on commit 3133aef

Please sign in to comment.