aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* log: removed "unused" attribute from log_level parameterMax Kellermann2009-04-101-1/+1
|
* decoder: prefer wildmidi over fluidsynthAvuton Olrich2009-04-061-4/+4
|
* vorbis: move #define out of function to top of sourcesAvuton Olrich2009-04-021-1/+1
|
* decoder: Rename all main decoder plugins functions to *decoder_plugin.Avuton Olrich2009-04-025-12/+12
|
* configure.ac: renamed --enable-mod to --enable-mikmodMax Kellermann2009-04-011-1/+1
|
* httpd: don't pass uninitialized page to httpd_client_check_queue()Max Kellermann2009-04-011-1/+1
| | | | | The httpd_client_check_queue() callback function does not use its "user_data" argument. Don't pass any, and fix the gcc warning.
* configure.ac: renamed --enable-oggvorbis to --enable-vorbisMax Kellermann2009-04-011-1/+1
|
* command: added command "sticker find"Max Kellermann2009-04-011-0/+41
| | | | | This command allows clients to search for stickers with a specified name.
* Move db_get_song into sub-handlers. (FReq 2112)Eric Wollesen2009-04-011-9/+27
| | | | | | | | db_get_song was being called once for all sub-handlers, but with the addition of the find command, we don't have a URI coming in, so doing db_get_song once won't work anymore. [mk: fixed initialization order]
* song_sticker: added song_sticker_find()Max Kellermann2009-04-012-0/+76
| | | | This is a wrapper for sticker_find(), which looks up the song object.
* sticker: added sticker_find()Max Kellermann2009-04-012-0/+85
| | | | sticker_find() finds stickers with the specified name.
* directory: added directory_lookup_song()Max Kellermann2009-04-013-25/+41
| | | | Moved code from db_get_song().
* directory: renamed directory_get_directory()Max Kellermann2009-04-013-6/+13
| | | | | Renamed directory_get_directory() to directory_lookup_directory(). Added API documentation.
* sticker_print: new library for sending stickers to a clientMax Kellermann2009-04-013-10/+85
|
* sticker: pass const sticker to sticker_foreach()Max Kellermann2009-04-012-4/+4
|
* client, event_pipe: explicitly ignore the write() resultMax Kellermann2009-04-012-2/+2
| | | | | | | | | | On both locations, the result of write() can be ignored safely. In event_pipe_emit_fast(), that can only be "EAGAIN", which means that the pipe buffer is full - no further notification required. In client_init(), that would be a fatal connection error, which would be caught by the next event. This patch fixes gcc warnings.
* socket_util: fixed format warningMax Kellermann2009-04-011-1/+1
| | | | | g_set_error() is a printf-like function, and expects a format string. Using the return value of gai_strerror() is unsafe.
* flac: fixed "unused variable" warning without libcueMax Kellermann2009-04-011-2/+2
| | | | Move the declaration of "i" into the "for" loop.
* Tag subtracks according to "cuesheet" vorbis comment valueJochen Keil2009-03-311-4/+32
| | | | | | | Cuesheets are often saved as vorbis comment flac files (CUESHEET=.. case doesn't matter). We can parse this now and use the information to tag the subtracks (from the embedded cuesheets).
* track length is computed correctly nowJochen Keil2009-03-311-2/+1
|
* free previously allocated flac metadata objectJochen Keil2009-03-311-0/+1
|
* remove old commented codeJochen Keil2009-03-311-8/+0
|
* Build tags from information in cue sheetsJochen Keil2009-03-312-0/+296
| | | | | | | | With these methods a tag struct can be created from the cdtext information in a cue sheet. The methods depend on a cue parsing library. Reading from strings (char*) as well as from a file (FILE*) is supported.
* do not consider single mode with "next" commandRomain Bignon2009-03-311-0/+7
| | | | | | This is a little ugly, but as nextSongInPlaylist is both called when queued is update (in case playlist ended) and for user "next" command, there isn't any other (simple) solution
* client: group static function declarations together.Avuton Olrich2009-03-301-6/+5
|
* queue_print: queue_print_song_info() is not necessry for export.Avuton Olrich2009-03-302-13/+9
|
* queue: queue_generate_id() is not necessary for export.Avuton Olrich2009-03-302-7/+4
|
* player_control: remove unused function playerCurrentDecodeSong().Avuton Olrich2009-03-302-10/+0
|
* conf: config_param_free() not necessary for export.Avuton Olrich2009-03-302-3/+1
|
* command: command_error() is not necessary for export.Avuton Olrich2009-03-302-4/+1
|
* client: client_write() does not necessary for export.Avuton Olrich2009-03-302-6/+4
|
* implemented the 'consume' modeRomain Bignon2009-03-307-15/+82
| | | | Consume mode removes each song played
* Bugfix for time/offset in flac pluginJochen Keil2009-03-281-3/+3
| | | | | | Previous cast to float didn't have any effect because one value is uint and the other is a floating type but the number itself is even.. This caused some tracks to end before they were really at an end.
* mixer: assert that the new volume value is validMax Kellermann2009-03-273-7/+2
| | | | | Added an assertion in mixer_set_volume(). Removed the range checks from the ALSA and OSS plugins.
* mpcdec: changed plugin name to "mpcdec"Max Kellermann2009-03-271-3/+3
| | | | The "mpcdec" plugin is based on the libmpcdec library.
* mpcdec: support the new libmpcdec SV8 APIMax Kellermann2009-03-271-14/+90
|
* mpcdec: no CamelCaseMax Kellermann2009-03-271-57/+65
| | | | Renamed variables and functions.
* tag_pool: use memcmp() instead of strcmp() for non-terminated stringMax Kellermann2009-03-271-1/+3
| | | | | | The strings passed to tag_pool_get_item() are not null-terminated, and the caller passes the string length. Don't assume it is null-terminated anyway by using strcmp().
* tag_pool: use size_t for string lengthMax Kellermann2009-03-272-4/+4
|
* event_pipe can only be non-blocking if !WIN32Sean McNamara2009-03-271-0/+2
|
* More debugging for Win32 ioctlsocket: complain if it's not a WinsockSean McNamara2009-03-271-3/+12
| | | | socket, because there is no ioctl for non-sockets on Windows
* Add winsock2 headers for curl's use of select() on socketsSean McNamara2009-03-271-1/+7
|
* Uniform getaddrinfo() on WIN32 or POSIX, because MinGW now supports itSean McNamara2009-03-271-23/+0
|
* Winsock2 is needed on MinGW (or other pure Win32 toolchains) forSean McNamara2009-03-271-0/+36
| | | | networking, select(), ntohl(), etc.
* sticker: move SQLite statements into an arrayMax Kellermann2009-03-271-70/+75
| | | | Simplify initialization and finalization.
* pulse_mixer: protect the struct with a mutexMax Kellermann2009-03-271-1/+29
| | | | | | There are numerous race conditions between the libpulse thread (pulse_mixer.c callbacks) and the rest of MPD. Protect the volatile attributes of the pulse_mixer struct with a mutex to fix that.
* pulse_mixer: return if mixer is offlineMax Kellermann2009-03-271-29/+27
| | | | | Eliminate one indent level. Also remove several debug useless debug messages.
* pulse_mixer: removed superfluous G_GNUC_UNUSED attributesMax Kellermann2009-03-271-4/+4
| | | | Those parameters are used after all.
* pulse_mixer: use local pa_cvolume variable for set_volume()Max Kellermann2009-03-271-2/+3
| | | | | | Don't mess with pulse_mixer.volume for setting the volume. This variable should only be used to transfer the current volume from sink_input_vol() to pulse_mixer_get_volume().
* pulse_mixer: wait for get_volume() operation to completeMax Kellermann2009-03-271-1/+34
| | | | | | | | | | The pa_context_get_sink_input_info() function is asynchronous, and after it returns, libpulse does not guarantee that the operation has completed yet; in fact, it is not likely. Explicitly wait for the operation to complete. The code for the new pulse_wait_for_operation() function was inspired by mplayer and xine code.