1
0
mirror of http://mpg123.de/trunk/.git synced 2025-10-25 04:37:34 +03:00
Commit Graph

15 Commits

Author SHA1 Message Date
thor
0e6ff48a5e Ensure that debug.h is included after any system headers.
There may be funny conflicts with my generic macro names.


git-svn-id: svn://scm.orgis.org/mpg123/trunk@1425 35dc7657-300d-0410-a2e5-dc2837fedb53
2008-03-20 13:51:55 +00:00
thor
daf7b3d507 Completed the output abstraction (also in buffer; also unified closing of output stuff with exit_output).
Made mpg123 check for errors in output (while writing - so after _opening_ was successful) so that it does't rage-decode in invalid files/pipes.


git-svn-id: svn://scm.orgis.org/mpg123/trunk@1278 35dc7657-300d-0410-a2e5-dc2837fedb53
2007-12-09 15:01:44 +00:00
thor
e3705999fd Buffer now says "Hey" now on succesful startup and the main process checks for that.
A bad audio module setting now has the expected result... abort at the correct place.


git-svn-id: svn://scm.orgis.org/mpg123/trunk@1267 35dc7657-300d-0410-a2e5-dc2837fedb53
2007-12-08 13:31:40 +00:00
thor
d71a40ee46 More communicative buffer and normalized usage of which.
No nastly killing or SIGSTOP anymore; buffer either plays or waits for commands, including termination.
This fixes the terminal behaviour with track skip and seek when stopped:
The buffer can be resynced while being stopped, so no forced restart of playback on track skip anymore.

The only nagging usability issue remaining with the buffer is the inability to seek while playing.
Refilling of the buffer effects in fast-forward only.



git-svn-id: svn://scm.orgis.org/mpg123/trunk@1251 35dc7657-300d-0410-a2e5-dc2837fedb53
2007-12-08 01:16:09 +00:00
thor
0eaece6663 Some audio handling rework, mainly to clean up the mess with the buffer.
The initial reason was to install safeguards against multiple ao->close() operations, which was done, too.
Now either the buffer or the main mpg123 process touch the audio devices; in the buffered case the main program querying the buffer process for audio capabilities.
That and some other potential bug(s) fixed.

This is too much movement in a release candidate, but it is necessary - we want some quality for 1.0!



git-svn-id: svn://scm.orgis.org/mpg123/trunk@1246 35dc7657-300d-0410-a2e5-dc2837fedb53
2007-12-07 02:57:17 +00:00
thor
72da73dbf3 Fix an alsa (not just there, I guess) crash by making sure the ao->userptr and ao->fn get cleared after close in close_output.
Also removed direct uses of ao->close in mpg123.c and buffer.c .


git-svn-id: svn://scm.orgis.org/mpg123/trunk@1044 35dc7657-300d-0410-a2e5-dc2837fedb53
2007-10-24 16:13:46 +00:00
thor
aab65056ca One big step of the messy part of libmpg123 merge.
The hard code mixes should be done, easy code mixes to follow... then the fun with the build system.


git-svn-id: svn://scm.orgis.org/mpg123/trunk@1000 35dc7657-300d-0410-a2e5-dc2837fedb53
2007-10-16 00:52:34 +00:00
njh
8dd0ee93f0 Finished hacking in loadable output module support from branch "njh-outputplugin".
Legacy support allows statically compiling in a single module.
Still needs some work, but a quick test on my MacBook worked :)


git-svn-id: svn://scm.orgis.org/mpg123/trunk@932 35dc7657-300d-0410-a2e5-dc2837fedb53
2007-09-10 23:23:22 +00:00
thor
44d607aff9 A commit motivated by SunOS veteran Winston. He gave SunOS 4.1.2 with gcc 2.7.0 a spin.
A commit that looks bigger than it is. Most files only got header #includes removed that are handled in mpg123.h .
Then there are the corresponding changes in mpg123.h; together with the addition of safe_realloc for ancient systems.
The ugly need for snprintf in make_remote_header() has been avoided by changing this one into print_remote_header().
The Question of size_t, ssize_t and off_t is handled in configure now; respectively in config.h.legacy .



git-svn-id: svn://scm.orgis.org/mpg123/trunk@861 35dc7657-300d-0410-a2e5-dc2837fedb53
2007-07-27 23:22:40 +00:00
thor
62a3946985 Include config.h and debug.h centrally in mpg132.h, remove redundant includes.
git-svn-id: svn://scm.orgis.org/mpg123/trunk@704 35dc7657-300d-0410-a2e5-dc2837fedb53
2007-06-04 21:31:38 +00:00
njh
a7bea0d89e Changed all occurrences of http://mpg123.de to http://mpg123.org (for consistency)
git-svn-id: svn://scm.orgis.org/mpg123/trunk@683 35dc7657-300d-0410-a2e5-dc2837fedb53
2007-06-01 00:32:13 +00:00
thor
1e56b91ceb Hacking MinGW32 into cooperation, in dialog with Elia Blance.
This restores some work of Tony Million from ages ago... wrapping buffer code properly into #ifndef NOXFERMEM again (except in term.c, which is a different beast).
Hack Makefile for the preprocessed .S files (mingw doesn't run cpp by itself).

Got autoconf'ed x86 portaudio/mme build working for *-mingw32; Elia wants SDL ...;-)
Also configure now doesn't look at OS for choosing default audio output but at the available output systems instead.
Let's keep this hardcoding at a minimum.

Sound playback works, control_generic not (no stdin in windows terminal?).
Assembler opts work nicely (including --cpu choice).
WAV writing has distortion ... twisted endianess?



git-svn-id: svn://scm.orgis.org/mpg123/trunk@631 35dc7657-300d-0410-a2e5-dc2837fedb53
2007-05-02 22:48:23 +00:00
thor
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
thor
23cb991577 Added inclusion config.h everywhere to make sure we don't stumble over some missing define later and search like crazy...
git-svn-id: svn://scm.orgis.org/mpg123/trunk@178 35dc7657-300d-0410-a2e5-dc2837fedb53
2006-06-26 12:24:26 +00:00
njh
f6101fd8b8 Tidying up a bit: moved all source code into 'src' directory.
Moving aside old build system and calling it 'legacy'.
Can build legacy system using ./MakeLegacy.sh <foo>


git-svn-id: svn://scm.orgis.org/mpg123/trunk@149 35dc7657-300d-0410-a2e5-dc2837fedb53
2006-06-21 03:19:32 +00:00