- 10 Oct, 2011 14 commits
-
-
Max Kellermann authored
This is easier and more efficient to loop on, because only two variables get modified (src and dest).
-
Max Kellermann authored
-
Max Kellermann authored
GLib's macros are implemented with inline assembly, and probably a lot faster than our naive bit shifting implementation.
-
Max Kellermann authored
The other audio_format attributes are not used.
-
Max Kellermann authored
This function is too complex for being inlined everywhere.
-
Max Kellermann authored
Send another "magic" MIME type when the byte order must be reversed. This also fixes byte order issues when big-endian was involved (input data or host byte order) - that was completely broken.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This function is not critical for performance, and the inline expansion looks too expensive.
-
Max Kellermann authored
For better optimization.
-
Max Kellermann authored
-
- 09 Oct, 2011 3 commits
-
-
Max Kellermann authored
Compile the plugins only once with the same C flags.
-
Max Kellermann authored
In a C file, that is too late, because _mingw.h defaults to 0x0502, and ours would be illegal redefintion.
-
Max Kellermann authored
-
- 08 Oct, 2011 10 commits
-
-
Max Kellermann authored
Use local variable "is_float".
-
Max Kellermann authored
-
Max Kellermann authored
Cast to enum sample_format. Without the cast, it's just a plain integer, and gcc cannot know that a "case" statement is missing.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
The protocol mandates that playlist URIs are absolute (i.e. full URI relative to the music directory, not relative to the parent directory). This adds the parameter "directory" to the "playlist" visitor method.
-
Max Kellermann authored
.. instead of failing playback completely.
-
Max Kellermann authored
Allow gcc to warn when a new format isn't supported.
-
Max Kellermann authored
Let the libsamplerate code initialize itself.
-
Max Kellermann authored
Load the samplerate_converter on MPD startup. Fail if the converter name is invalid.
-
- 07 Oct, 2011 2 commits
-
-
Max Kellermann authored
Defaults to "no", which fixes the noise problems.
-
Max Kellermann authored
-
- 06 Oct, 2011 5 commits
-
-
Max Kellermann authored
When we have an absolute path that's not inside the music directory, allow loading it anyway, if we're in "secure" mode (i.e. the client is connected via UNIX socket).
-
Jesús Bravo Álvarez authored
Right now, a playlist with absolute pathnames can only add songs that are in the same the directory of the playlist or under it. If uri is an absolute pathname and base_uri is set, playlist_check_translate_song() will check that base_uri is a prefix of uri, excluding every other song in the music directory outside base_uri. I think in this case base_uri should be completely ignored (and made NULL) and uri should just be checked against music root directory.
-
Max Kellermann authored
Previously, the condition "defined(play_audio_format)" was used to see if an output device has been opened, but if the device had failed on startup, an assertion failure could occur. This patch adds a separate flag.
-
Max Kellermann authored
Common function that manages "player" attributes after audio_output_all_open() has returned.
-
Max Kellermann authored
-
- 05 Oct, 2011 6 commits
-
-
Max Kellermann authored
Now that the player thread can handle SEEK commands while not (yet) playing, we can remove the "pc.state" check from pc_seek().
-
Max Kellermann authored
-
Max Kellermann authored
This checks both conditions: pending and running. Fixes yet another assertion failure!
-
Max Kellermann authored
.. and add a few code comments.
-
Max Kellermann authored
Don't read song.start_ms and song.end_ms, let the player thread manage this logic instead.
-
Max Kellermann authored
Fixes one more assertion failure.
-