- 08 Nov, 2008 4 commits
-
-
Laszlo Ashin authored
A new function has been added to do a cast and a little check in the wavpack-mpd input stream wrapper.
-
Laszlo Ashin authored
I think this makes the code more easily modifiable and prevents some annoying mistakes.
-
Laszlo Ashin authored
There are some functions in the wavpack-mpd input streams wrapper which had too commonly used names (especially can_seek). I prefixed these with "wavpack_input_".
-
Laszlo Ashin authored
Not every function header has its return type in a distinct line. This patch corrects that. This way there is more space for the arguments.
-
- 07 Nov, 2008 3 commits
-
-
Max Kellermann authored
The build failed when the oggvorbis and oggflac decoders were disabled, because the flac decoder references a symbol from _ogg_common.c.
-
Max Kellermann authored
-
Tom Servo authored
The listen.c module breaks the build because the variable name used ("sun") for the Unix domain socket part collides with something else on an OpenSolaris system, likely Sun specific. Renaming it to _sun (or something else of choice) fixes the build. [mk: renamed to "s_un"]
-
- 06 Nov, 2008 6 commits
-
-
Laszlo Ashin authored
Using wvc streams the seekableness depends on the seekability of the wvc stream as well.
-
Laszlo Ashin authored
The input stream opened for wvc is not closed in an if branch. A close call has been added.
-
Laszlo Ashin authored
Somehow seeking is disabled on all kinds of wavpack playbacks now in the git version. This patch corrects that.
-
Max Kellermann authored
libcurl provides better error messages than curl_multi_strerror() when you set the ERRORBUFFER option.
-
Max Kellermann authored
The read() method must not return a negative value. Make it return 0 on error, just like the file input stream. Also set the "error" attribute to -1.
-
Max Kellermann authored
I had this option enabled during development, but at some point, it must have gotten lost. FAILONERROR makes the curl stream fail when the server returns a status code 400 or higher. We are not interested in the server's error document.
-
- 05 Nov, 2008 27 commits
-
-
Max Kellermann authored
First alpha version for the upcoming version 0.14.
-
Max Kellermann authored
The code which had a possible error condition had been removed.
-
Max Kellermann authored
When logging to a file, log_charset would be NULL and g_convert() would abort.
-
Max Kellermann authored
Adding some of the most important changes since 0.13.
-
Max Kellermann authored
Trying to bring a little bit of structure into that list.
-
Max Kellermann authored
MPD is licensed under the version 2 of the GNU General Public License version 2. Also added "General".
-
Max Kellermann authored
MPD doesn't include the mp4ff library anymore.
-
Max Kellermann authored
-
Max Kellermann authored
Documented dependencies on gcc/C99, glib, libvorbisenc, liblame, ffmpeg.
-
Max Kellermann authored
input_curl.h was missing in the tarball because it was not listed in $(mpd_headers).
-
Max Kellermann authored
Using the logging library here is inappropriate.
-
Max Kellermann authored
When logging to the terminal, we should print messages in the system character set. Convert all messages in this case.
-
Max Kellermann authored
Use the bool data type for flags.
-
Max Kellermann authored
Install a default handler which writes to stdout or stderr, and prepends a time stamp. This looks just like the 0.13.x logger.
-
Max Kellermann authored
The logging functions from log.h are deprecated, and the code should use GLib logging instead. Make ERROR(), WARNING() etc. call g_logv() internally.
-
Max Kellermann authored
Renamed the variable "logLevel" to "log_threshold".
-
Max Kellermann authored
The warning buffer is a complex piece of code for no good reason. Remove it and find a better solution, e.g. open the log file earlier.
-
Max Kellermann authored
Initialize libc's locale functions. Currently, we are only interested in LC_CTYPE (character classification), because this is what is used by GLib's g_get_charset().
-
Max Kellermann authored
Make the local variable "charset" const, and don't duplicate its value. It is already duplicated by path_set_fs_charset().
-
Max Kellermann authored
GLib provides the function g_get_filename_charsets() which determines the file system character set. This changes MPD's fallback: GLib prefers UTF-8 as a fallback. MPD used to fall back to ISO Latin 1.
-
Max Kellermann authored
Rename variables and functions.
-
Max Kellermann authored
Call g_thread_init() from main() to enable the GLib features which make it thread safe.
-
Max Kellermann authored
Removed closeAllFDs(). The caller is responsible for closing all file handles.
-
Max Kellermann authored
The output thread automatically waits some time before retrying to open the device. Don't duplicate this check in the pulse plugin.
-
Max Kellermann authored
The pulse plugin crashed with a segmentation fault when the pulse server was killed.
-
Max Kellermann authored
libwavpack expects the read_bytes() stream method to fill the whole buffer, and fails badly when we return a partial read (i.e. not enough data available yet). This caused wavpack streams to break. Re-implement the buffer filling loop.
-
Max Kellermann authored
The input_stream object is opened and closed by the caller.
-