meson.build: always enable Wave encoder for Snapcast

Even if the "wave_encoder" option is disabled (and no other encoder
plugins are enabled), forcefully enable the Wave encoder (if Snapcast
is enabled).

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1500
This commit is contained in:
Max Kellermann
2022-04-26 20:05:20 +02:00
parent 83572701f4
commit 85f9863e0a
4 changed files with 20 additions and 5 deletions

View File

@@ -572,7 +572,7 @@ executable(
# Encoder
#
if encoder_glue_dep.found()
if need_encoder
executable(
'run_encoder',
'run_encoder.cxx',