1
0
mirror of http://mpg123.de/trunk/.git synced 2025-07-30 02:01:12 +03:00

49 Commits

Author SHA1 Message Date
85d717e6d3 scripts/tag_lyrics.py: fix for python3 (github PR 16)
git-svn-id: svn://scm.orgis.org/mpg123/trunk@5458 35dc7657-300d-0410-a2e5-dc2837fedb53
2024-12-03 21:04:59 +00:00
f26bfa5b34 build: relative header includes, dropping -Isrc/compat and -Isrc/common
Only the generated config.h and the API headers in src/include should be
located via search path now.


git-svn-id: svn://scm.orgis.org/mpg123/trunk@5386 35dc7657-300d-0410-a2e5-dc2837fedb53
2023-12-06 22:32:09 +00:00
d0fbbe5160 all: Remove internal symbol renaming, only leaving INT123_strerror().
git-svn-id: svn://scm.orgis.org/mpg123/trunk@5319 35dc7657-300d-0410-a2e5-dc2837fedb53
2023-09-06 19:29:09 +00:00
bb3d506871 libmpg123: purge off_t out of the core, offer 64 bit portable API (bug 344)
This now is the result of way to much time of thinking hard about disentangling
the various I/O paths in libmpg123. It needed days of hacking, way too many
hours continuously, to figure out how this would work. So this is my draft
that I tested in various settings and am hopeful that it fulfills the ideas
drafted in bug 344, the relentless discussion with manx about how portable
API should look.

Instead of just adding some 64 bit functions, this is a refactoring of the
reader code, moving the parts actually dealing with OS calls and largefile
support into lfs_wrap.c, which now offers wrappers and aliases. All file I/O
is now routed through the interface of mpg123_reader64() and could neatly be
split into a separate library, weren't it for only a handful of internal hooks.

I fixed up the autoconf and the CMake build. Ideally, both break only on
a limited set of platforms. I am pushing this directly to trunk as a)
I did testing on x86-64 and i686 with some largefile switchery and think
it should work and b) I want people to quickly tell me what does not work.

Let's see how many iterations we'll need until 1.32.0 can finally be released.



git-svn-id: svn://scm.orgis.org/mpg123/trunk@5304 35dc7657-300d-0410-a2e5-dc2837fedb53
2023-08-21 09:07:08 +00:00
e690e285be github PR template, move script
git-svn-id: svn://scm.orgis.org/mpg123/trunk@5200 35dc7657-300d-0410-a2e5-dc2837fedb53
2022-11-05 12:23:33 +00:00
c9d5d5ccc9 add madebr github mirror actions
git-svn-id: svn://scm.orgis.org/mpg123/trunk@5199 35dc7657-300d-0410-a2e5-dc2837fedb53
2022-11-03 06:58:04 +00:00
64fb6ba33c scripts/mpg123-radio: with buffer
git-svn-id: svn://scm.orgis.org/mpg123/trunk@5033 35dc7657-300d-0410-a2e5-dc2837fedb53
2022-04-17 12:55:07 +00:00
dfae3a6de0 scripts/mpg123-radio: prototype for HTTPS streaming
git-svn-id: svn://scm.orgis.org/mpg123/trunk@5032 35dc7657-300d-0410-a2e5-dc2837fedb53
2022-04-17 12:43:36 +00:00
3cb79a2753 intsym: update script for C99 comments, adding safer_realloc
git-svn-id: svn://scm.orgis.org/mpg123/trunk@4908 35dc7657-300d-0410-a2e5-dc2837fedb53
2021-05-29 12:27:39 +00:00
85b111bc07 intsym: formally include libsyn123, drop static
git-svn-id: svn://scm.orgis.org/mpg123/trunk@4501 35dc7657-300d-0410-a2e5-dc2837fedb53
2019-07-23 08:45:34 +00:00
15a3788e92 libsyn123: add SYN123_NO_CASES switch for mono and stereo
Using scripts/syn123-channelscaling.sh, I see about 15% benefit
for mono/stereo operation when treating it as special cases in
the resampler. Fun fact: Even the higher channel counts profit
a tiny bit (1% to 2%, not sure how significant) from the
separation.

Giving the compiler information about what can be likely values
for those inner loop rounds still makes sense.



git-svn-id: svn://scm.orgis.org/mpg123/trunk@4494 35dc7657-300d-0410-a2e5-dc2837fedb53
2019-07-22 09:21:32 +00:00
bc5f1093f2 C99-style debuggin!
git-svn-id: svn://scm.orgis.org/mpg123/trunk@4422 35dc7657-300d-0410-a2e5-dc2837fedb53
2018-02-26 00:25:29 +00:00
98bbc4bd62 Update internal symbol renaming … some compat functions slipped through (libout123 module handling).
git-svn-id: svn://scm.orgis.org/mpg123/trunk@4328 35dc7657-300d-0410-a2e5-dc2837fedb53
2017-08-23 10:50:19 +00:00
473835187c Re-introduce the symbol renaming for asm routines (got killed by the unification); add some missing ones (funky catchsignal definition is too funky).
git-svn-id: svn://scm.orgis.org/mpg123/trunk@4042 35dc7657-300d-0410-a2e5-dc2837fedb53
2016-05-11 08:29:52 +00:00
8063845129 Another go at the ANSI/ISO C vs. POSIX extensions business, reworking the use of compatibility functions. Somewhat cleaner now, but output modules get about 1K of bloat from string/memory compat functions ...
git-svn-id: svn://scm.orgis.org/mpg123/trunk@4022 35dc7657-300d-0410-a2e5-dc2837fedb53
2016-04-12 23:24:13 +00:00
46101f1eb0 Intsym header modifications go into the script that generates them.
git-svn-id: svn://scm.orgis.org/mpg123/trunk@3841 35dc7657-300d-0410-a2e5-dc2837fedb53
2015-09-09 06:39:11 +00:00
ecd37a4c34 Add ME": " prefix to debug.h messages.
git-svn-id: svn://scm.orgis.org/mpg123/trunk@3815 35dc7657-300d-0410-a2e5-dc2837fedb53
2015-09-06 15:14:38 +00:00
382a464cfd merge in libout123 branch
git-svn-id: svn://scm.orgis.org/mpg123/trunk@3770 35dc7657-300d-0410-a2e5-dc2837fedb53
2015-09-04 07:06:24 +00:00
ccf7c64116 conplay: rewind to the beginning and correct check to accept last track
git-svn-id: svn://scm.orgis.org/mpg123/trunk@3675 35dc7657-300d-0410-a2e5-dc2837fedb53
2015-06-28 12:49:45 +00:00
85141250ac Also return an error if mpg123 had problems.
git-svn-id: svn://scm.orgis.org/mpg123/trunk@3519 35dc7657-300d-0410-a2e5-dc2837fedb53
2014-03-01 09:09:07 +00:00
5228dbc91c Make the benchmark script check the return value.
git-svn-id: svn://scm.orgis.org/mpg123/trunk@3518 35dc7657-300d-0410-a2e5-dc2837fedb53
2014-03-01 09:05:27 +00:00
db32e632a1 Sync inline scripts for current module list; prevent win32_wasapi from occuring in configure output unconditionally.
The test script just tries to build all supported modules into a static output each; providing some testing for the more rare configuration.



git-svn-id: svn://scm.orgis.org/mpg123/trunk@3423 35dc7657-300d-0410-a2e5-dc2837fedb53
2013-09-29 15:07:52 +00:00
3102d545fb Abuse mpg123's remote control mode for programmatic extraction of meta info in easily parseable format.
git-svn-id: svn://scm.orgis.org/mpg123/trunk@3326 35dc7657-300d-0410-a2e5-dc2837fedb53
2013-04-20 15:02:12 +00:00
52f055ba2f Manual bookmarking, as a start. Conplay does not yet really work with this.
git-svn-id: svn://scm.orgis.org/mpg123/trunk@3237 35dc7657-300d-0410-a2e5-dc2837fedb53
2012-08-28 06:26:35 +00:00
7f965d6f59 revert that last commit on conplay
git-svn-id: svn://scm.orgis.org/mpg123/trunk@3192 35dc7657-300d-0410-a2e5-dc2837fedb53
2012-06-12 21:05:42 +00:00
b7f5702911 hotfix for endless free format search
git-svn-id: svn://scm.orgis.org/mpg123/trunk@3191 35dc7657-300d-0410-a2e5-dc2837fedb53
2012-06-12 21:04:26 +00:00
77b72e6807 Make conplay accept a full path as parameter, specifying both directory and playlist file.
This is a simple mechanism to have multiple bookmarks.



git-svn-id: svn://scm.orgis.org/mpg123/trunk@3189 35dc7657-300d-0410-a2e5-dc2837fedb53
2012-05-15 06:07:58 +00:00
cec756fc9e Be more helpful on empty playlist.
git-svn-id: svn://scm.orgis.org/mpg123/trunk@3188 35dc7657-300d-0410-a2e5-dc2837fedb53
2012-05-15 05:59:08 +00:00
9c98b4a2e0 more clear error message for playlist mishap.
git-svn-id: svn://scm.orgis.org/mpg123/trunk@3187 35dc7657-300d-0410-a2e5-dc2837fedb53
2012-05-15 05:57:46 +00:00
a1366e5dde Now, conplay can find files recursively by calling the find tool.
This needed locale usage to use sort properly (might have helped glob, too, of course).



git-svn-id: svn://scm.orgis.org/mpg123/trunk@3186 35dc7657-300d-0410-a2e5-dc2837fedb53
2012-05-15 05:53:11 +00:00
e791412ede conplay: /usr/bin/env is more common, changing the shebang accordingly
term.c: preliminary code to use the number row for jumping to 0..90% of the file in 10% steps



git-svn-id: svn://scm.orgis.org/mpg123/trunk@3122 35dc7657-300d-0410-a2e5-dc2837fedb53
2012-04-24 05:30:14 +00:00
8c8675fa09 Add --continue mode, with example script to utilize it.
git-svn-id: svn://scm.orgis.org/mpg123/trunk@3120 35dc7657-300d-0410-a2e5-dc2837fedb53
2012-04-22 23:04:16 +00:00
d737239bdd Publish the lyrics tagger, why not?
git-svn-id: svn://scm.orgis.org/mpg123/trunk@3093 35dc7657-300d-0410-a2e5-dc2837fedb53
2012-04-06 17:34:39 +00:00
6db753a1aa Add a little script to create test files with lyrics.
git-svn-id: svn://scm.orgis.org/mpg123/trunk@3088 35dc7657-300d-0410-a2e5-dc2837fedb53
2012-04-06 17:22:25 +00:00
5b4f2cdc00 Consistency: US English "optimization".
git-svn-id: svn://scm.orgis.org/mpg123/trunk@2767 35dc7657-300d-0410-a2e5-dc2837fedb53
2010-08-15 19:01:20 +00:00
34e3967918 More smartness in the renamer script, taking care of non-obvious global symbols and no-nos. Also, a bunch of variables/functions turned static.
git-svn-id: svn://scm.orgis.org/mpg123/trunk@2699 35dc7657-300d-0410-a2e5-dc2837fedb53
2010-05-23 20:37:25 +00:00
26d0499502 Start renaming internal symbols with a prefix (INT123_) that makes it unlikely that they screw up in a static lib.
The renaming itself is done via a header that in turn is generated by scripts/intsym.pl . Some symbols needed shortening for the 31 char limit.



git-svn-id: svn://scm.orgis.org/mpg123/trunk@2698 35dc7657-300d-0410-a2e5-dc2837fedb53
2010-05-23 20:00:22 +00:00
22bff788a0 update the CPU benchmark... producing some formatted text output (for plotting, for example)
git-svn-id: svn://scm.orgis.org/mpg123/trunk@2001 35dc7657-300d-0410-a2e5-dc2837fedb53
2009-05-01 00:06:45 +00:00
d1c9be757b Add new preprocessor flags to disable error / warning messages.
That can save around 9K on libmpg123.



git-svn-id: svn://scm.orgis.org/mpg123/trunk@1800 35dc7657-300d-0410-a2e5-dc2837fedb53
2009-01-10 16:38:05 +00:00
f7c09a055f Added ereturn macro for the frequent
if(some_error_condition)
{
	error("blablabla");
	return error;
}



git-svn-id: svn://scm.orgis.org/mpg123/trunk@1118 35dc7657-300d-0410-a2e5-dc2837fedb53
2007-11-20 20:24:26 +00:00
8b31fc3aef Made a script for filtering out the EXPORTed symbols and ran that instead of caring myself for inclusion of mpg123_fmt and what else I forgot.
git-svn-id: svn://scm.orgis.org/mpg123/trunk@1094 35dc7657-300d-0410-a2e5-dc2837fedb53
2007-11-09 13:14:53 +00:00
63c73594c0 Modify the script to use the actually supported decoders.
git-svn-id: svn://scm.orgis.org/mpg123/trunk@701 35dc7657-300d-0410-a2e5-dc2837fedb53
2007-06-04 19:53:45 +00:00
njh
c52af6a4bb Perl script to benchmark each of mpg123's CPU optimisations
git-svn-id: svn://scm.orgis.org/mpg123/trunk@700 35dc7657-300d-0410-a2e5-dc2837fedb53
2007-06-04 14:10:29 +00:00
192b31d7dd Fix up the debugging macros; syntactic appearance as functions again (no closing ; in macro itself) (as DK suggested, basically).
git-svn-id: svn://scm.orgis.org/mpg123/trunk@628 35dc7657-300d-0410-a2e5-dc2837fedb53
2007-04-20 21:47:08 +00:00
fbf28eee49 Essential part of ICY support. It's in reader and http_open.
Missing is only proper output - and, that it actually works:-/
There is something fishy in the reader...


git-svn-id: svn://scm.orgis.org/mpg123/trunk@536 35dc7657-300d-0410-a2e5-dc2837fedb53
2006-12-22 02:28:31 +00:00
a501c23941 now also warnings and error messages as macro
git-svn-id: svn://scm.orgis.org/mpg123/trunk@337 35dc7657-300d-0410-a2e5-dc2837fedb53
2006-08-05 14:55:26 +00:00
7cab2a4475 First part of boilerplating and sorting all out. Looks kinda nice now, still would like to get the higway mmx stuff clear... maybe Michael remembers something there.
git-svn-id: svn://scm.orgis.org/mpg123/trunk@216 35dc7657-300d-0410-a2e5-dc2837fedb53
2006-07-17 03:22:56 +00:00
3dd5485dec public domain should be gpl compatible...
git-svn-id: svn://scm.orgis.org/mpg123/trunk@208 35dc7657-300d-0410-a2e5-dc2837fedb53
2006-07-16 23:54:14 +00:00
54dc85a2e6 Hah! Found the place where terminal control got killed!
The option definition in mpg123.c lacked the type specifier (a regression caused by merging).

To find that, I added debug.h for more convenient debugs.


git-svn-id: svn://scm.orgis.org/mpg123/trunk@175 35dc7657-300d-0410-a2e5-dc2837fedb53
2006-06-26 12:06:42 +00:00