mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-06 13:11:20 +00:00
65a748fc3c
the resampler is being badly abused for streams, and it's not yet properly autoconfiscated, but things are working. Better yet, at the correct pitch and speed.
51 lines
1.6 KiB
Makefile
51 lines
1.6 KiB
Makefile
AUTOMAKE_OPTIONS= foreign
|
|
|
|
CFLAGS+= @PREFER_PIC@ @VORBIS_CFLAGS@ @OGG_CFLAGS@
|
|
INCLUDES= -I$(top_srcdir)/include
|
|
plugin_version= 1:0:0
|
|
plugin_ldflags= @plugin_ldflags@ -module
|
|
plugin_libadd= @plugin_libadd@
|
|
EXEEXT=
|
|
|
|
plugin_LTLIBRARIES= @SND_REND_TARGETS@
|
|
EXTRA_LTLIBRARIES= snd_render_default.la snd_render_jack.la
|
|
|
|
noinst_LTLIBRARIES= @SND_REND_STATIC@
|
|
|
|
flac_src=flac.c
|
|
midi_src=midi.c
|
|
vorbis_src=vorbis.c
|
|
wav_src=wav.c
|
|
|
|
if HAVE_FLAC
|
|
have_flac_src=$(flac_src)
|
|
else
|
|
have_flac_src=
|
|
endif
|
|
if HAVE_MIDI
|
|
have_midi_src=$(midi_src)
|
|
else
|
|
have_midi_src=
|
|
endif
|
|
if HAVE_VORBIS
|
|
have_vorbis_src=$(vorbis_src)
|
|
else
|
|
have_vorbis_src=
|
|
endif
|
|
have_wav_src=$(wav_src)
|
|
|
|
format_src=$(have_flac_src) $(have_midi_src) $(have_vorbis_src) $(have_wav_src)
|
|
extra_format_src=flac.c midi.c vorbis.c wav.c
|
|
snd_common=snd_channels.c snd_mem.c snd_mix.c snd_resample.c snd_sfx.c
|
|
|
|
snd_render_default_la_LDFLAGS= $(plugin_ldflags)
|
|
snd_render_default_la_SOURCES= snd_dma.c $(snd_common) $(format_src)
|
|
snd_render_default_la_LIBADD= $(VORBISFILE_LIBS) $(VORBIS_LIBS) $(LIBFLAC_LIBS) $(OGG_LIBS) $(WM_LIBS) $(top_builddir)/libs/util/libQFutil.la $(top_builddir)/libs/models/libQFmodels.la
|
|
snd_render_default_la_DEPENDENCIES=
|
|
EXTRA_snd_render_default_la_SOURCES= $(extra_format_src)
|
|
|
|
snd_render_jack_la_LDFLAGS= $(plugin_ldflags)
|
|
snd_render_jack_la_SOURCES= snd_jack.c $(snd_common) $(format_src)
|
|
snd_render_jack_la_LIBADD= $(SAMPLERATE_LIBS) $(VORBISFILE_LIBS) $(VORBIS_LIBS) $(LIBFLAC_LIBS) $(OGG_LIBS) $(WM_LIBS) $(JACK_LIBS) $(top_builddir)/libs/util/libQFutil.la $(top_builddir)/libs/models/libQFmodels.la
|
|
snd_render_jack_la_DEPENDENCIES=
|
|
EXTRA_snd_render_jack_la_SOURCES= $(extra_format_src)
|