Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ripped out SMPEG and mpglib support, replaced it with "mpg123.c" and libmpg123. libmpg123 is a much better version of mpglib, so it should solve all the problems about MP3's not seeking, or most modern MP3's not playing at all, etc. Since you no longer have to make a tradeoff with SMPEG for features, and SMPEG is basically rotting, I removed it from the project. There is still work to be done with libmpg123...there are MMX, 3DNow, SSE, Altivec, etc decoders which we don't have enabled at the moment, and the build system could use some work to make this compile more cleanly, etc. Still: huge win.
- Loading branch information
Showing
97 changed files
with
88,924 additions
and
3,963 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
if USE_LIBMPG123 | ||
noinst_LTLIBRARIES = libmpg123.la | ||
endif | ||
|
||
# !!! FIXME: get MMX/SSE/Altivec/etc stuff in here. | ||
|
||
INCLUDES = -I$(top_srcdir)/decodes/libmpg123 | ||
libmpg123_la_CFLAGS = -DOPT_GENERIC -DREAL_IS_FLOAT -DMPG123_NO_CONFIGURE | ||
|
||
libmpg123_la_SOURCES = \ | ||
compat.c \ | ||
compat.h \ | ||
parse.c \ | ||
parse.h \ | ||
frame.c \ | ||
format.c \ | ||
frame.h \ | ||
reader.h \ | ||
debug.h \ | ||
decode.h \ | ||
decode_2to1.c \ | ||
decode_4to1.c \ | ||
decode_ntom.c \ | ||
equalizer.c \ | ||
huffman.h \ | ||
icy.c \ | ||
icy.h \ | ||
icy2utf8.c \ | ||
icy2utf8.h \ | ||
id3.c \ | ||
id3.h \ | ||
true.h \ | ||
l2tables.h \ | ||
layer1.c \ | ||
layer2.c \ | ||
layer3.c \ | ||
getbits.h \ | ||
optimize.h \ | ||
optimize.c \ | ||
readers.c \ | ||
tabinit.c \ | ||
stringbuf.c \ | ||
libmpg123.c \ | ||
mpg123lib_intern.h \ | ||
mangle.h \ | ||
getcpuflags.h \ | ||
index.h \ | ||
index.c \ | ||
mpg123.h \ | ||
config.h \ | ||
dct64.c \ | ||
decode.c \ | ||
libmpg123.sym | ||
|
||
EXTRA_libmpg123_la_SOURCES = \ | ||
dct36_3dnowext.S \ | ||
dct36_3dnow.S \ | ||
dct64_3dnowext.S \ | ||
dct64_3dnow.S \ | ||
dct64_altivec.c \ | ||
dct64_i386.c \ | ||
dct64_i486.c \ | ||
dct64_mmx.S \ | ||
dct64_sse.S \ | ||
decode_3dnowext.S \ | ||
decode_3dnow.S \ | ||
decode_altivec.c \ | ||
decode_i386.c \ | ||
decode_i486.c \ | ||
decode_i586_dither.S \ | ||
decode_i586.S \ | ||
decode_mmx.S \ | ||
decode_sse3d.h \ | ||
decode_sse.S \ | ||
equalizer_3dnow.S \ | ||
tabinit_mmx.S \ | ||
getcpuflags.S | ||
|
||
EXTRA_DIST = mpg123.h.in dnoise.sh dnoise.dat testcpu.c README-sdlsound.txt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
## Makefile.am: produce Makefile.in from this | ||
|
||
## copyright by the mpg123 project - free software under the terms of the LGPL 2.1 | ||
## see COPYING and AUTHORS files in distribution or http://mpg123.org | ||
## initially written by Nicholas J. Humfrey | ||
|
||
#AM_CFLAGS = @AUDIO_CFLAGS@ | ||
#AM_LDFLAGS = | ||
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/libmpg123 | ||
|
||
EXTRA_DIST = mpg123.h.in dnoise.sh dnoise.dat | ||
|
||
EXTRA_PROGRAMS = testcpu | ||
testcpu_dependencies = getcpuflags.$(OBJEXT) | ||
testcpu_sources = testcpu.c | ||
testcpu_LDADD = getcpuflags.$(OBJEXT) | ||
|
||
|
||
CLEANFILES = *.a | ||
|
||
|
||
#lib_LIBRARIES = libmpg123.a | ||
lib_LTLIBRARIES = libmpg123.la | ||
nodist_include_HEADERS = mpg123.h | ||
|
||
#libmpg123_a_LIBADD = @DECODER_OBJ@ | ||
#libmpg123_a_DEPENDENCIES = @DECODER_OBJ@ | ||
|
||
libmpg123_la_LDFLAGS = -no-undefined -version-info @LIBMPG123_VERSION@ -export-symbols $(top_srcdir)/src/libmpg123/libmpg123.sym | ||
libmpg123_la_LIBADD = @DECODER_LOBJ@ | ||
libmpg123_la_DEPENDENCIES = @DECODER_LOBJ@ $(top_srcdir)/src/libmpg123/libmpg123.sym | ||
|
||
libmpg123_la_SOURCES = \ | ||
compat.c \ | ||
compat.h \ | ||
parse.c \ | ||
parse.h \ | ||
frame.c \ | ||
format.c \ | ||
frame.h \ | ||
reader.h \ | ||
debug.h \ | ||
decode.h \ | ||
decode_2to1.c \ | ||
decode_4to1.c \ | ||
decode_ntom.c \ | ||
equalizer.c \ | ||
huffman.h \ | ||
icy.c \ | ||
icy.h \ | ||
icy2utf8.c \ | ||
icy2utf8.h \ | ||
id3.c \ | ||
id3.h \ | ||
true.h \ | ||
l2tables.h \ | ||
layer1.c \ | ||
layer2.c \ | ||
layer3.c \ | ||
getbits.h \ | ||
optimize.h \ | ||
optimize.c \ | ||
readers.c \ | ||
tabinit.c \ | ||
stringbuf.c \ | ||
libmpg123.c \ | ||
mpg123lib_intern.h \ | ||
mangle.h \ | ||
getcpuflags.h \ | ||
index.h \ | ||
index.c \ | ||
libmpg123.sym | ||
|
||
EXTRA_libmpg123_la_SOURCES = \ | ||
dct36_3dnowext.S \ | ||
dct36_3dnow.S \ | ||
dct64_3dnowext.S \ | ||
dct64_3dnow.S \ | ||
dct64_altivec.c \ | ||
dct64.c \ | ||
dct64_i386.c \ | ||
dct64_i486.c \ | ||
dct64_mmx.S \ | ||
dct64_sse.S \ | ||
decode_3dnowext.S \ | ||
decode_3dnow.S \ | ||
decode_altivec.c \ | ||
decode.c \ | ||
decode_i386.c \ | ||
decode_i486.c \ | ||
decode_i586_dither.S \ | ||
decode_i586.S \ | ||
decode_mmx.S \ | ||
decode_sse3d.h \ | ||
decode_sse.S \ | ||
equalizer_3dnow.S \ | ||
tabinit_mmx.S \ | ||
getcpuflags.S | ||
|
||
# explicit preprocessing since mingw32 does not honor the big .S | ||
.S.o: | ||
$(CPP) $(AM_CPPFLAGS) $(DEFAULT_INCLUDES) $(CPPFLAGS) $< > $<.s | ||
$(CCAS) $(CCASFLAGS) -c -o $@ $<.s && rm $<.s | ||
|
||
.S.lo: | ||
$(LTCCASCOMPILE) $(DEFAULT_INCLUDES) -c -o $@ $< | ||
|
||
dnoise.c: dnoise.dat dnoise.sh | ||
sh dnoise.sh "$<" > "$@" |
Oops, something went wrong.