Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-11-28 | Util/StringUtil: add StringStartsWith() | Max Kellermann | 1 | -3/+2 | |
Replaces GLib's g_str_has_prefix(). | |||||
2013-11-25 | Volume, Output: use new class PeriodClock instead of GTimer | Max Kellermann | 1 | -12/+3 | |
2013-10-19 | *: use nullptr instead of NULL | Max Kellermann | 1 | -3/+3 | |
2013-10-02 | Log: new logging library API | Max Kellermann | 1 | -4/+6 | |
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||||
2013-01-09 | EventPipe: rename to GlobalEvents | Max Kellermann | 1 | -3/+3 | |
2013-01-09 | event_pipe.h: convert to C++ | Max Kellermann | 1 | -4/+1 | |
2013-01-09 | idle: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-07 | mixer_all: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-01-07 | volume: convert to C++ | Max Kellermann | 1 | -2/+5 | |
2013-01-07 | audio_config, volume, mixer_all: include cleanup | Max Kellermann | 1 | -7/+0 | |
2012-08-15 | filter/volume: include cleanup | Max Kellermann | 1 | -1/+0 | |
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-11-12 | include config.h in all sources | Max Kellermann | 1 | -1/+1 | |
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue. | |||||
2009-10-21 | volume: added PIPE_EVENT_MIXER | Max Kellermann | 1 | -0/+16 | |
Flush the hardware volume cache, and send the MIXER idle event. This allows mixer plugins to detect volume changes. | |||||
2009-10-08 | state_file: save only if something has changed | Max Kellermann | 1 | -0/+6 | |
If nothing has changed since the last save, don't save the state file. Saving will spin up the hard drive, which is undesirable on hosts where MPD is idling in background. | |||||
2009-07-15 | state_file: don't rewind the stream while reading the state file | Max Kellermann | 1 | -14/+12 | |
Parse the state file line by line, let each subsystem probe a line. Only the playlist_state code gets the FILE pointer to read the following lines. | |||||
2009-07-06 | output: use the software mixer plugin | Max Kellermann | 1 | -71/+8 | |
Do all the software volume stuff inside each output thread, not in the player thread. This allows one software mixer per output device, and also allows the user to configure the mixer type (hardware or software) for each audio output. This moves the global "mixer_type" setting into the "audio_output" section, deprecating the "mixer_enabled" flag. | |||||
2009-07-06 | volume: moved range check to handle_setvol() | Max Kellermann | 1 | -10/+9 | |
Converted the range checks in volume_level_change() to assertions. Changed all volume types to "unsigned", expect for those which must be able to indicate error (-1). | |||||
2009-07-06 | volume, mixer: removed the "relative" parameter | Max Kellermann | 1 | -25/+19 | |
Since the "volume" command has been removed, nobody uses relative volumes anymore. | |||||
2009-07-06 | mixer_type: moved volume_mixer_type from volume.c | Max Kellermann | 1 | -21/+22 | |
2009-06-25 | volume: removed support for legacy mixer configuration | Max Kellermann | 1 | -85/+2 | |
The top-level "mixer_device" and "mixer_control" options have been deprecated by MPD 0.15, and it's safe to remove them in MPD 0.16. | |||||
2009-06-03 | conf: eliminated CamelCase | Max Kellermann | 1 | -5/+5 | |
Renamed all remaining CamelCase functions. | |||||
2009-05-28 | volume: changed "default" to "DISABLED" in switch statement | Max Kellermann | 1 | -1/+4 | |
Make gcc warn us if we add a new mixer type, and forget to add a new "case" line. | |||||
2009-05-28 | volume: converted volume_mixer_type to an enum | Max Kellermann | 1 | -5/+6 | |
Don't use CPP macros when you can use C enums. | |||||
2009-05-28 | volume: removed unused macro "VOLUME_MIXER_SOFTWARE_DEFAULT" | Max Kellermann | 1 | -1/+0 | |
2009-03-14 | mixer_api: moved functions to mixer_control.c | Max Kellermann | 1 | -1/+1 | |
mixer_control.h should provide the functions needed to manipulate a mixer, without exposing the internal mixer API (which is provided by mixer_api.h). | |||||
2009-03-14 | volume: moved code to mixer_all.c | Max Kellermann | 1 | -30/+5 | |
2009-03-14 | volume: use bool instead of int | Max Kellermann | 1 | -6/+6 | |
Return true/false on success/failure, instead of 0/-1. Pass true/false instead of 1/0 for the "rel" boolean parameter. | |||||
2009-03-13 | all: Update copyright header. | Avuton Olrich | 1 | -6/+7 | |
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy. | |||||
2009-03-12 | audio: moved mixer functions to mixer_control.c | Max Kellermann | 1 | -1/+1 | |
2009-03-12 | volume: removed unused variable "default_mixer" | Max Kellermann | 1 | -1/+0 | |
2009-03-02 | mixer: adding code to optionally disable all hw mixers | Viliam Mateicka | 1 | -0/+3 | |
2009-02-28 | volume: throttle access to hardware mixers | Max Kellermann | 1 | -1/+24 | |
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. | |||||
2009-02-26 | mixer: Add "disabled" mixer_type. | Avuton Olrich | 1 | -0/+3 | |
2009-02-10 | audio: moved code to output_all.c | Max Kellermann | 1 | -0/+1 | |
Moved code which deals with all audio outputs at once into a separate library. | |||||
2009-01-25 | mixer: configure legacy mixer before the audio outputs | Max Kellermann | 1 | -21/+69 | |
Reimplemented the legacy mixer configuration: copy the deprecated configuration values into the audio_output section. Don't configure the mixers twice (once for the audio_output, and a second time for the legacy values). This requires volume_init() to be called before initAudioDriver(). | |||||
2009-01-25 | conf: const pointers in block get functions | Max Kellermann | 1 | -1/+1 | |
All config_get_block_*() functions should accept constant config_param pointers. | |||||
2009-01-17 | conf: no CamelCase, part I | Max Kellermann | 1 | -5/+5 | |
Renamed functions, types, variables. | |||||
2009-01-11 | removing mixer_reconfigure memmory leak, fixing configure of alsa and oss ↵ | Viliam Mateicka | 1 | -0/+2 | |
mixer (passing parameters) | |||||
2009-01-07 | pcm_utils: moved code to pcm_volume.c | Max Kellermann | 1 | -1/+1 | |
Moved the software volume code to a separate library. | |||||
2009-01-03 | don't include utils.h when it isn't used | Max Kellermann | 1 | -2/+3 | |
2009-01-01 | mixer: renamed mix_* options to mixer_* | Max Kellermann | 1 | -2/+2 | |
There is no reason to use the shortcut "mix" instead of "mixer". | |||||
2008-12-31 | Moving mixers to audio outputs | Viliam Mateicka | 1 | -419/+89 | |
2008-12-29 | volume: use GLib logging | Max Kellermann | 1 | -26/+29 | |
2008-12-29 | removed os_compat.h | Max Kellermann | 1 | -4/+6 | |
Only include headers which are really needed. os_compat.h aimed to make MPD easily portable, but was never actually made portable. | |||||
2008-12-28 | utils: removed myFgets() | Max Kellermann | 1 | -1/+3 | |
Replaced myFgets() with fgets() + g_strchomp(). | |||||
2008-12-02 | replaced mpd_likely/mpd_unlikely by G_LIKELY/G_UNLIKELY | Thomas Jansen | 1 | -1/+1 | |
We want to remove gcc.h eventually. This takes care of all the G_LIKELY/G_UNLIKELY macros. | |||||
2008-11-14 | volume: eliminate alloca() usage | Max Kellermann | 1 | -11/+4 | |
alloca() is not a portable function. Don't use it. Using strncasecmp() is much more efficient anyway, because no memory needs to be allocated and copied. | |||||
2008-11-14 | volume: moved code to oss_mixer_find() | Max Kellermann | 1 | -14/+23 | |