- 25 Feb, 2009 25 commits
-
-
Max Kellermann authored
The array must never be modified, it's a constant lookup table.
-
Max Kellermann authored
Looks like the MVP audio output only supports 16 and 24 bit audio samples. If MPD generates any other sample formats, force it to use 16 bit.
-
Max Kellermann authored
When the channel count is greater than 2, fall back to stereo sound.
-
Max Kellermann authored
Return true/false instead of 0/-1. Also check its return value in mvp_output_open().
-
Max Kellermann authored
Pass a pointer to the audio_format struct instead of 3 separate integers.
-
Max Kellermann authored
Don't pass the big_endian flag to mvp_set_pcm_params(), do a simple "G_BYTE_ORDER==G_LITTLE_ENDIAN" instead.
-
Max Kellermann authored
Instead of manually calculating the number of elements in the mvp_sample_rates array, use GLib's convenience macro G_N_ELEMENTS().
-
Max Kellermann authored
Renamed types, functions and variables.
-
Max Kellermann authored
Return true/false instead of 1/0.
-
Max Kellermann authored
-
Max Kellermann authored
Return true/false for success/failure instead of returning 0/-1.
-
Max Kellermann authored
Renamed types, functions and variables.
-
Max Kellermann authored
The MPD core guarantees that the audio_output object is always consistent, and our timer!=NULL checks are superfluous.
-
Max Kellermann authored
Renamed functions and variables.
-
Max Kellermann authored
The MPD core guarantees that the audio_output object is always in a consistent state: either open or closed. When open, it will not call the open() method again, and when closed, it will not call play(). Removed several checks and the NULL initialization.
-
Max Kellermann authored
The method is empty, and we can simply set the method pointer to NULL instead.
-
Max Kellermann authored
audio_output_get_name() has been removed, which was the only function left in output_api.h. The output plugin doesn't need the audio_output object at all, remove the parameter from the init() method.
-
Max Kellermann authored
Use config_get_block_string("name") instead of audio_output_get_name().
-
Max Kellermann authored
Added a command line program which runs an encoder plugin.
-
Max Kellermann authored
Added a command line program which runs a decoder plugin.
-
Max Kellermann authored
Moved generic compiler options to AM_CFLAGS. MPD_CFLAGS/MPD_LIBS will hopefully fade away one day, in favor of more fine-grained variables.
-
Max Kellermann authored
Renamed the old AM_CFLAGS to AM_CPPFLAGS, because it contained only preprocessor options. Append it to src_mpd_CPPFLAGS. Removed GLIB_LIBS from src_mpd_CPPFLAGS, because it is already part of AM_LDFLAGS.
-
Max Kellermann authored
Added "make" variables for the sources and dependencies of each subsystem (archive, input, output, decoder, encoder, mixer).
-
Max Kellermann authored
"ls" is a bad name for a library which parses URIs. We'll move the rest of the "ls" library later.
-
Max Kellermann authored
Fix a gcc warning.
-
- 24 Feb, 2009 13 commits
-
-
Max Kellermann authored
Don't return an uninitialized bool variable.
-
Max Kellermann authored
Fix a gcc warning, initialize the "space" variable at the beginning of mpd_jack_play().
-
Max Kellermann authored
Work around gcc warnings by casting the parameters to void.
-
Max Kellermann authored
Don't explicitly check is_ipv6_enabled(), just try calling listen_add_port_ipv6(), but check its error code.
-
Max Kellermann authored
Some more code simplification.
-
Max Kellermann authored
For default bind_to_address settings, don't call listen_add_config_param(NULL), use listen_add_port() directly.
-
Max Kellermann authored
Split code from the rather large function listen_add_config_param(), part 3.
-
Max Kellermann authored
Split code from the rather large function listen_add_config_param(), part 2.
-
Max Kellermann authored
Split code from the rather large function listen_add_config_param().
-
Max Kellermann authored
Don't return -1 on failure, and abort on fatal error - do proper error reporting with GError, and return false on failure.
-
Max Kellermann authored
-
Max Kellermann authored
Renamed functions.
-
Max Kellermann authored
Removed superfluous commas.
-
- 23 Feb, 2009 2 commits
-
-
Avuton Olrich authored
After much research[1][2][3] this should be the majority of currently supported file extensions and mime-types for the currently supported ffmpeg formats. This list maybe incomplete, but it's more complete than anything else out there that I've been able to find. This list needs to be updated every now and again as the ffmpeg sources support more formats. 1. Sources 2. wiki.multimedia.cx 3. filext.com
-
Max Kellermann authored
Recursive Makefiles are inefficient and error prone (no proper way to declare dependencies). Since there's no disadvantage in having one single Makefile, let's do it.
-