annotate mp3lib/Makefile @ 23978:ef6e50c3c172

Revert setting audio output channel count for FFmpeg The FFmpeg API needs to be fixed before this can be done sanely. ffdca wants the desired output channel count to be set in avctx->channels. Unfortunately it also completely fails if the requested number of channels is not available rather than returning a different amount (if 6 channels are requested we'd probably rather use stereo than fail completely). ffvorbis ignores caller-set values in avctx->channels. It writes the channel count there once during init. This means the caller can only set the count before init because later there would be no indication whether the channel count in avctx reflects real output. ffwma requires the caller to supply the encoded channel count in avctx->channels during init or it fails. So it is not possible to set a different number of desired output channels there before init either.
author uau
date Thu, 02 Aug 2007 21:54:14 +0000
parents f19f12214991
children 2095f98cf0fa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1258
50b8a3a5eeed Portability and old binutils support
nick
parents: 1245
diff changeset
1 include ../config.mak
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2
22536
b19e2fb20a41 Rename mp3lib/libMP3.a to mp3lib/libmp3.a for consistency.
diego
parents: 22531
diff changeset
3 LIBNAME_COMMON = libmp3.a
21259
92b122592776 Merge common parts of all Makefiles into one file included by all.
diego
parents: 21206
diff changeset
4
22528
8bcff5c7e387 Give more descriptive names to the source and library variables and split
diego
parents: 21309
diff changeset
5 SRCS_COMMON = sr1.c
23664
f19f12214991 Get rid of duplicate processor feature variables.
diego
parents: 23543
diff changeset
6 SRCS_COMMON-$(HAVE_MMX) += decode_MMX.c
f19f12214991 Get rid of duplicate processor feature variables.
diego
parents: 23543
diff changeset
7 SRCS_COMMON-$(HAVE_SSE) += dct64_sse.c
23543
d198ab45f7c9 Follow ffmpeg TARGET_ARCH_* -> ARCH_* change.
reimar
parents: 23495
diff changeset
8 ifeq ($(ARCH_X86_32),yes)
22531
090ec2169aee cosmetics: Fix indentation, reorder some lines for consistency.
diego
parents: 22528
diff changeset
9 SRCS_COMMON += decode_i586.c
23664
f19f12214991 Get rid of duplicate processor feature variables.
diego
parents: 23543
diff changeset
10 SRCS_COMMON-$(HAVE_MMX) += dct64_MMX.c
f19f12214991 Get rid of duplicate processor feature variables.
diego
parents: 23543
diff changeset
11 SRCS_COMMON-$(HAVE_3DNOW) += dct36_3dnow.c dct64_3dnow.c
f19f12214991 Get rid of duplicate processor feature variables.
diego
parents: 23543
diff changeset
12 SRCS_COMMON-$(HAVE_3DNOWEX) += dct36_k7.c dct64_k7.c
1258
50b8a3a5eeed Portability and old binutils support
nick
parents: 1245
diff changeset
13 endif
23664
f19f12214991 Get rid of duplicate processor feature variables.
diego
parents: 23543
diff changeset
14 SRCS_COMMON-$(HAVE_ALTIVEC) += dct64_altivec.c
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15
21259
92b122592776 Merge common parts of all Makefiles into one file included by all.
diego
parents: 21206
diff changeset
16 include ../mpcommon.mak
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17
22597
f826f57be4b4 Simplify setting special CFLAGS for decode_i586.o.
diego
parents: 22595
diff changeset
18 decode_i586.o: CFLAGS += -fomit-frame-pointer
8543
60fe896e437c decode_i586.c version uses %ebp for its own use, so:
arpi
parents: 7234
diff changeset
19
22537
fffc3a54fd66 Fix test program compilation.
diego
parents: 22536
diff changeset
20 %: %.c $(LIBNAME_COMMON) ../libvo/aclib.o ../mp_msg-mencoder.o ../cpudetect.o ../osdep/getch2.o
fffc3a54fd66 Fix test program compilation.
diego
parents: 22536
diff changeset
21 $(CC) $(CFLAGS) -o $@ $^ -ltermcap -lm