mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 14:03:29 +08:00
package/sdl_mixer: prefer tremor over libvorbis
When Tremor is enabled, configure SDL_mixer to use this Vorbis decoding library instead of libvorbis. Since Tremor does fixed-point math, it is safe to assume that if it's enabled then it is faster than libvorbis on the target architecture. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
9bc3c8dd61
commit
dcb32a0030
@ -42,7 +42,10 @@ else
|
||||
SDL_MIXER_CONF_OPTS += --disable-music-mod-modplug
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBVORBIS),y)
|
||||
ifeq ($(BR2_PACKAGE_TREMOR),y)
|
||||
SDL_MIXER_CONF_OPTS += --enable-music-ogg-tremor
|
||||
SDL_MIXER_DEPENDENCIES += tremor
|
||||
else ifeq ($(BR2_PACKAGE_LIBVORBIS),y)
|
||||
SDL_MIXER_CONF_OPTS += --enable-music-ogg
|
||||
SDL_MIXER_DEPENDENCIES += libvorbis
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user