aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_mix.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* pcm_{mix,volume}: pass only sample_format to pcm_mix()Max Kellermann2011-10-101-7/+7
| | | | The other audio_format attributes are not used.
* copyright year 2011Max Kellermann2011-01-291-1/+1
|
* eliminate g_error() usageThomas Jansen2010-09-251-4/+5
| | | | | | | | | | | | | | Replaced all occurrences of g_error() with MPD_ERROR() located in a new header file 'mpd_error.h'. This macro uses g_critical() to print the error message and then exits gracefully in contrast to g_error() which would internally call abort() to produce a core dump. The macro name is distinctive and allows to find all places with dubious error handling. The long-term goal is to get rid of MPD_ERROR() altogether. To facilitate the eventual removal of this macro it was added in a new header file rather than to an existing header file. This fixes #2995 and #3007.
* mixramp: Remove maths from pcm_mix when using MixRamp overlaps.Tim Phipps2010-05-081-21/+102
|
* Add support for MixRamp tagsTim Phipps2010-03-211-1/+10
| | | | | Adds mixrampdb and mixrampdelay commands. Reads MIXRAP_START and MIXRAMP_END tags from FLAC files and overlaps instead of crossfading.
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* pcm_mix: change old code to use format instead of bitsViliam Mateicka2009-12-031-1/+1
|
* audio_format: changed "bits" to "enum sample_format"Max Kellermann2009-12-021-5/+6
| | | | | | This patch prepares support for floating point samples (and probably other formats). It changes the meaning of the "bits" attribute from a bit count to a symbolic value.
* pcm_mix: implemented 32 bit supportMax Kellermann2009-11-191-0/+23
|
* include config.h in all sourcesMax Kellermann2009-11-121-0/+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.
* all: Update copyright header.Avuton Olrich2009-03-131-3/+4
| | | | | | | | 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.
* pcm: pass void pointers to PCM functionsMax Kellermann2009-01-071-2/+2
| | | | | In generic PCM functions allowing all sample formats, pass a void pointer instead of a char pointer.
* pcm_volume: rename pcm_dither() to pcm_volume_dither()Max Kellermann2009-01-071-3/+6
|
* pcm_utils: moved code to pcm_mix.cMax Kellermann2009-01-071-0/+118
Moved the software mixing code (used by crossfading) to a separate library.