- 20 May, 2010 6 commits
-
-
Avuton Olrich authored
-
Max Kellermann authored
-
Max Kellermann authored
Reduce the overhead. Most buffers used by MPD are around 2 to 4 kB. 8 kB seems large enough to keep heap fragmentation low. Additionally, this patch fixes an off-by-one error in the alignment formula.
-
Max Kellermann authored
Declaring the global variable _CRT_fmode is a documented hack. What an ugly platform!
-
Max Kellermann authored
Add the flag "b" to fopen(). Windows compatibility.
-
Max Kellermann authored
Windows compatibility.
-
- 19 May, 2010 5 commits
-
-
Max Kellermann authored
On mingw32, snprintf() expects a 64 bit integer instead of a "long int" for "%li" - this is not consistent with our expectation, so we're using plain sprintf().
-
Max Kellermann authored
-
Max Kellermann authored
For some unknown reason, read() blocks on WIN32, even though it was invoked inside the G_IO_IN callback. By switching to GIOChannel functions, this problem is solved, and it works on both Linux and Windows.
-
Max Kellermann authored
On WIN32, use g_io_channel_win32_new_fd() instead of g_io_channel_unix_new(). There doesn't seem to be a practical difference, but it seems more correct.
-
Max Kellermann authored
inode numbers don't work on WIN32, and very few WIN32 users actually use symlinks - seems ok to disable that check.
-
- 18 May, 2010 9 commits
-
-
Max Kellermann authored
Not a CPP macro. This adds the "unused" attribute to "saveptr", which eliminates one gcc warning.
-
Max Kellermann authored
On WIN32, "%F" and "%T" are not implemented.
-
Max Kellermann authored
In the winsock headers, the setsockopt() argument is declared as "const char *", not "const void *".
-
Max Kellermann authored
-
Max Kellermann authored
This function is empty on WIN32, but we need to return a value.
-
Max Kellermann authored
-
Max Kellermann authored
input_stream_buffer() has a check for "buffer==NULL", so we don't need an explicit empty implementation.
-
Daniel Seuthe authored
Pay attention to the ReplayGain mode "auto" and the replay_gain_missing_preamp parameter inside of decoder_replay_gain().
-
Daniel Seuthe authored
-
- 14 May, 2010 1 commit
-
-
Max Kellermann authored
Added #ifdefs on the macros AFMT_S24_NE and other OSS4 extensions.
-
- 13 May, 2010 2 commits
-
-
Max Kellermann authored
Removed the "supported" / "unsupported" arrays, and auto-detect on every open() call, just like the ALSA output plugin.
-
Max Kellermann authored
Removed the macro AFMT_S16_MPD.
-
- 12 May, 2010 1 commit
-
-
Avuton Olrich authored
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.
-
- 08 May, 2010 4 commits
-
-
Avuton Olrich authored
This is portable for win32 and fixes client logins there.
-
Tim Phipps authored
-
Tim Phipps authored
-
Avuton Olrich authored
-
- 02 May, 2010 6 commits
-
-
Max Kellermann authored
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).
-
Max Kellermann authored
Remove cross_fade_apply(), and call pcm_mix() in the output thread, mixing the chunk and chunk->other together.
-
Max Kellermann authored
Preparation for cross-fading support in the output thread.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 26 Apr, 2010 1 commit
-
-
Avuton Olrich authored
Move encoder before audio outputs. Makes sense to keep them after decoders and some audio outputs need to know wheather encoders are present.
-
- 25 Apr, 2010 2 commits
-
-
Daniel Seuthe authored
-
Max Kellermann authored
-
- 23 Apr, 2010 3 commits
-
-
Avuton Olrich authored
Add libogg section rather than checking for it every time it's necessary.
-
Avuton Olrich authored
-
Avuton Olrich authored
-