- 02 Mar, 2009 8 commits
-
-
Max Kellermann authored
Resampling 32 bit samples is the same as resampling 24 bit samples - both are stored in the int32_t type.
-
Max Kellermann authored
Some 24 bit code can be reused. The 32 bit variant has to use 64 bit integers, because 32 bit integers could overflow. This may be a performance hit on 32 bit CPUs.
-
Max Kellermann authored
This is the first patch in a series to enable 32 bit audio samples in MPD. 32 bit samples are more tricky than 24 bit samples, because the integer may overflow when you operate on a sample.
-
Max Kellermann authored
audio_valid_sample_format() verifies the number of channels. Let's just say up to 8 channels is allowed (which is possible with some consumer sound chips). I don't know if there are bigger cards, and since I cannot test it, I'll limit it to 8 for now.
-
Max Kellermann authored
Do error reporting with GLib's GError library in this library, too.
-
Max Kellermann authored
Do error reporting with GLib's GError library.
-
Max Kellermann authored
Renamed a bunch of variables.
-
Max Kellermann authored
Don't abort MPD when a sample format is not supported by pcm_volume().
-
- 01 Mar, 2009 18 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Parse the vorbis comments in libflac's metadata_callback and pass them as tag struct to the decoder API.
-
Max Kellermann authored
When the unix domain socket path is too long, don't abort with g_error().
-
Max Kellermann authored
-
Max Kellermann authored
Use config_get_block_string() and manual GError handling instead.
-
Max Kellermann authored
Do error handling with GError instead of aborting with g_error().
-
Max Kellermann authored
-
Max Kellermann authored
Don't hard code the "bits" parameter to 16. Try to use the input's sample format, if possible.
-
Max Kellermann authored
The MPD core logs the audio format of all audio outputs. Remove the duplicate message from the plugins.
-
Max Kellermann authored
To aid debugging, print the audio format of the output plugin in a debug message, and print information about PCM conversion.
-
Max Kellermann authored
To aid debugging, print the audio format of the decoder plugin in a debug message, and print information about PCM conversion.
-
Max Kellermann authored
During the listen_add_host() API transition, the windows code wasn't tested, and several removed arguments are still in use there.
-
Max Kellermann authored
Windows doesn't have the standard headers sys/socket.h and netdb.h.
-
Max Kellermann authored
-
Max Kellermann authored
Even when --enable-documentation is passed, don't abort if "xmlto" was not found.
-
Max Kellermann authored
The output path must be ./doc/protocol/, not ./protocol/
-
- 28 Feb, 2009 14 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Renamed functions and variables.
-
Max Kellermann authored
Use GLIB_CHECK_VERSION() instead of manually checking GLIB_MAJOR_VERSION, ...
-
Max Kellermann authored
On some hardware, reading the mixer value from hardware is an expensive operation, and MPD has to do it for every client. Throttle access to the hardware, cache the result for one second.
-
Max Kellermann authored
time() is not a monotonic timer, and MPD might get confused by clock skews. clock_gettime() provides a monotonic clock, but is not portable to non-POSIX systems (i.e. Windows). This patch uses GLib's GTimer API, which aims to be portable.
-
Max Kellermann authored
The option "enabled" is on by default. If you specify "enabled no" in an audio_output section, then this device is disabled by default.
-
Max Kellermann authored
decoder_data() returns a decoder_command, no need to call decoder_get_command() twice after decoder_command().
-
Max Kellermann authored
If an input_stream is not seekable, libaudiofile fails to play at all: Audio File Library: unrecognized audio file format [error 0] Since we know in advance whether the input_stream is seekable, just refuse to play on a non-seekable stream.
-
Max Kellermann authored
Renamed several variables and a function.
-
-
Avuton Olrich authored
-
Avuton Olrich authored
-
Max Kellermann authored
-