Commit Graph

5195 Commits

Author SHA1 Message Date
Max Kellermann 67c48f66a6 output/oss: rewrite of the audio format detection
Removed the "supported" / "unsupported" arrays, and auto-detect on
every open() call, just like the ALSA output plugin.
2010-05-13 14:42:09 +02:00
Max Kellermann 5fa1c703de output/oss: use the *_NE macros
Removed the macro AFMT_S16_MPD.
2010-05-13 14:34:22 +02:00
Avuton Olrich bead892e21 AudioCompress: include stdint.h for int16_t definition.
In mingw32, int16_t is not defined by sys/types.h, but it is by stdint.h,
and it is in the int16_t man page as being defined in stdint.h. Thanks to
mithi for help debugging.
2010-05-11 18:48:22 -07:00
Avuton Olrich 8341daca4a client_new: Send greeting using send() rather than write().
This is portable for win32 and fixes client logins there.
2010-05-08 16:48:01 -07:00
Tim Phipps 136759a298 mixramp: Remove maths from pcm_mix when using MixRamp overlaps. 2010-05-08 09:28:06 +02:00
Tim Phipps 0ac5b6e613 mixramp: Adjust MixRamp threshold to account for ReplayGain. 2010-05-08 00:19:44 -07:00
Avuton Olrich eb5208c4f9 log: /dev/null doesn't exist on win32. 2010-05-08 00:17:34 -07:00
Max Kellermann d88c3c8462 output_thread: call replay gain filter manually
Don't add it to the filter chain, because we need to apply replay gain
before cross-fading with the next song.  Add a second replay_gain
filter which is used for the song being faded in (chunk->other).
2010-05-02 18:21:16 +02:00
Max Kellermann 5399a72ec1 player_thread: move cross-fading to output thread
Remove cross_fade_apply(), and call pcm_mix() in the output thread,
mixing the chunk and chunk->other together.
2010-05-02 17:46:07 +02:00
Max Kellermann d093fb2441 chunk: added attribute "other"
Preparation for cross-fading support in the output thread.
2010-05-02 17:46:06 +02:00
Max Kellermann 0140804ef9 output_thread: moved code to ao_filter_open(), ao_filter_close() 2010-05-02 17:38:16 +02:00
Max Kellermann ecb5f68ba8 output_thread: moved filter invocation to ao_filter_chunk() 2010-05-02 17:34:35 +02:00
Max Kellermann 55bf242635 filter/replay_gain: removed duplicate *dest_size_r assignment 2010-05-02 17:34:27 +02:00
Avuton Olrich 7dba410c26 configure.ac: Move the encoders before the audio outputs.
Move encoder before audio outputs. Makes sense to keep them after
decoders and some audio outputs need to know wheather encoders are
present.
2010-04-26 06:49:12 -07:00
Daniel Seuthe 92e66e5ab2 replay_gain: added mode "auto" 2010-04-25 13:51:58 +02:00
Max Kellermann 54dedef9cf configure.ac: removed stray comma 2010-04-25 13:51:54 +02:00
Avuton Olrich b8b2ef3de1 configure.ac: Add libogg section
Add libogg section rather than checking for it every time it's necessary.
2010-04-23 06:53:26 -07:00
Avuton Olrich 681128def4 configure.ac: Fix an omission during moving oggvorbis to decoder plugins. 2010-04-22 20:00:25 -07:00
Avuton Olrich f4f4a908bb configure.ac: When compiling FLAC with ogg API, linking with ogg is mandatory. 2010-04-22 19:56:23 -07:00
Avuton Olrich 7c37f2879b configure.ac: Move LAME encoder subheader to correct spot. 2010-04-22 19:09:06 -07:00
Avuton Olrich 615ccd1070 configure.ac: Add optional third variable to results.
Add optional third value to results() to allow for non "yes" answers which are
considered positive.
2010-04-21 12:23:38 -07:00
Avuton Olrich 6ed69e6395 libOggFLAC.m4: Remove libOggFLAC.m4 as it's buggy. 2010-04-21 12:23:38 -07:00
Avuton Olrich f946a182a3 configure.ac: Rewrite the liboggflac tests.
Rewrite the liboggflac tests, the m4 macro is way too complicated for no
reason and it's buggy.
2010-04-21 12:23:38 -07:00
Avuton Olrich d3fcb81da0 configure.ac: Fix a couple of syntax errors created by the moves. 2010-04-21 12:23:37 -07:00
Avuton Olrich 7e42637b74 configure.ac: Clean up the wording and lines at the end of the file. 2010-04-21 12:23:37 -07:00
Avuton Olrich dbe93d4a6d configure.ac: Merge the streaming and nonstreaming sections. 2010-04-21 12:23:37 -07:00
Avuton Olrich 20bc25cdcc configure.ac: Move audio output tests to Post Audio Output Plugins section. 2010-04-21 12:23:37 -07:00
Avuton Olrich 13c0788334 configure.ac: Move protocol tests to the Post Protocol Tests section. 2010-04-21 12:23:37 -07:00
Avuton Olrich 672cf84a32 configure.ac: Remove errant header. 2010-04-21 12:23:37 -07:00
Avuton Olrich 2834f7802f configure.ac: Move decoder minimum test to Post Decoder Plugins tests. 2010-04-21 12:23:37 -07:00
Avuton Olrich b135483abc configure.ac: New pretty print results menu.
This commit adds a new pretty print menu, we've (far) outgrown the old
menu which because hard to traverse.
2010-04-21 12:23:37 -07:00
Avuton Olrich ba36cbde06 configure.ac: Add a comment in libsndfile about possible disabling. 2010-04-21 12:23:37 -07:00
Avuton Olrich f153681522 configure.ac: Move AC_DEFINE for Ogg Tremor under other if conditional.
Ogg Tremor doesn't have the ability to be disabled under the first if
conditional, might as well AC_DEFINE there.
2010-04-21 07:35:33 -07:00
Avuton Olrich d73291959b configure.ac: Organize all added CFLAGs. 2010-04-21 07:35:32 -07:00
Avuton Olrich 01a675eb5f configure.ac: Documentation whitespace fixes. 2010-04-21 07:35:32 -07:00
Avuton Olrich be5143c0f3 configure.ac: Move SHOUTcast output to Streaming Audio Plugins. 2010-04-21 07:35:32 -07:00
Avuton Olrich b7ee1f5c40 configure.ac: Move Recorder output to Streaming Audio Plugins. 2010-04-21 07:35:32 -07:00
Avuton Olrich b619f5e73d configure.ac: Move HTTPD output to Streaming Audio Plugins. 2010-04-21 07:35:32 -07:00
Avuton Olrich e44f639002 configure.ac: Move final encoder tests to the end of the encoder tests. 2010-04-21 07:35:32 -07:00
Avuton Olrich 1aa470e0bf configure.ac: Move WAVE Encoder to Encoder Plugins. 2010-04-21 07:35:32 -07:00
Avuton Olrich b6a33691ff configure.ac: Move TwoLAME Encoder to Encoder Plugins. 2010-04-21 07:35:32 -07:00
Avuton Olrich 5e616b4ff3 configure.ac: Move LAME Encoder to Encoder Plugins. 2010-04-21 07:35:31 -07:00
Avuton Olrich d847593a8e configure.ac: Move OggVorbis Encoder to Encoder Plugins. 2010-04-21 07:35:31 -07:00
Avuton Olrich 1cd5700c37 configure.ac: Move FLAC Encoder to Encoder Plugins. 2010-04-21 07:35:31 -07:00
Avuton Olrich 957cf3c7b0 configure.ac: Add encoder/encoder API header 2010-04-21 07:35:31 -07:00
Avuton Olrich b6c8de6e01 configure.ac: Move tremor/oggflac test under oggflac. 2010-04-21 07:35:31 -07:00
Avuton Olrich 21f5ed4a25 configure.ac: Check for vorbis once, and AC_DEFINE it there. 2010-04-21 07:35:31 -07:00
Avuton Olrich 52fc168905 configure.ac: Add Post Decoder Plugins Tests header
Add Post Decoder Plugins Tests and move things that shouldn't be in individual
tests to it.
2010-04-21 07:35:31 -07:00
Avuton Olrich 3bb03db097 configure.ac: Move ffmpeg to Decoder Plugins, add header. 2010-04-21 07:35:30 -07:00
Avuton Olrich ee88b8f8c4 configure.ac: Move WildMidi to Decoder Plugins, add header. 2010-04-21 07:35:30 -07:00