Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-10-21 | Util/ASCII: add StringEqualsCaseASCII() overload with length | Max Kellermann | 1 | -3/+2 | |
Replaces GLib's g_ascii_strncasecmp(). | |||||
2013-10-02 | Log: new logging library API | Max Kellermann | 1 | -7/+7 | |
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||||
2013-09-05 | conf.h: remove obsolete header | Max Kellermann | 1 | -1/+0 | |
Use only ConfigData.hxx in plugin sources to reduce header dependencies. | |||||
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -26/+23 | |
Replaces GLib's GError. | |||||
2013-07-30 | pcm_buffer: convert to C++ | Max Kellermann | 1 | -16/+11 | |
2013-07-30 | pcm_resample: convert to C++ | Max Kellermann | 1 | -61/+44 | |
2013-04-09 | pcm_*: move to src/pcm/ | Max Kellermann | 1 | -0/+0 | |
2012-03-01 | pcm_convert: add method _reset() | Max Kellermann | 1 | -0/+7 | |
Resets the libsamplerate state. Not being used yet. | |||||
2011-10-20 | pcm_resample: add function pcm_resample_float() | Max Kellermann | 1 | -0/+39 | |
A version of the resampler that doesn't need int->float->int conversion. | |||||
2011-10-19 | pcm_{channels,resample}: pass channel count as integer, not uint8_t | Max Kellermann | 1 | -3/+3 | |
Reduces number of implicit integer conversions. | |||||
2011-10-08 | pcm_resample_lsr: move common code to lsr_process() | Max Kellermann | 1 | -32/+17 | |
2011-10-08 | pcm_resample: add internal function _lsr_init() | Max Kellermann | 1 | -0/+10 | |
Let the libsamplerate code initialize itself. | |||||
2011-10-08 | pcm_resample: one-time global initialization | Max Kellermann | 1 | -40/+47 | |
Load the samplerate_converter on MPD startup. Fail if the converter name is invalid. | |||||
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-07-23 | pcm_convert: use GError for error handling | Max Kellermann | 1 | -22/+49 | |
Don't abort the whole MPD process when the conversion fails. This has been a denial-of-service attack vector for years. | |||||
2009-04-28 | libsamplerate: use g_ascii_strncasecmp() instead of strncasecmp() | Max Kellermann | 1 | -1/+1 | |
strncasecmp() is locale dependent, making it a bad choice for internal string comparisons. | |||||
2009-03-14 | pcm_resample: renamed implementation functions | Max Kellermann | 1 | -14/+15 | |
Added diversion functions to pcm_resample.c. These check which resampler is enabled at compile time (libsamplerate or fallback). This prepares the following patch. | |||||
2009-03-14 | pcm_resample: return NULL on failure | Max Kellermann | 1 | -4/+4 | |
Changed "0" to "NULL". | |||||
2009-03-13 | all: Update copyright header. | Avuton Olrich | 1 | -7/+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-02 | pcm_resample: use 24 bit resampling code for 32 bit samples | Max Kellermann | 1 | -1/+1 | |
Resampling 32 bit samples is the same as resampling 24 bit samples - both are stored in the int32_t type. | |||||
2009-01-17 | conf: replaced getConfigParamValue() with config_get_string() | Max Kellermann | 1 | -1/+1 | |
Don't return a writable pointer. | |||||
2009-01-08 | added missing explicit config.h includes | Max Kellermann | 1 | -0/+1 | |
2009-01-08 | pcm_resample: use pcm_buffer (2/2) | Max Kellermann | 1 | -16/+6 | |
Use the PCM buffer library for the libsamplerate output buffer. | |||||
2009-01-08 | pcm_resample: use pcm_buffer (1/2) | Max Kellermann | 1 | -15/+22 | |
Return a temporary buffer from pcm_resample_*() and pcm_convert(). | |||||
2009-01-07 | pcm: added pcm_convert_deinit(), pcm_resample_deinit() | Max Kellermann | 1 | -0/+7 | |
Free memory allocated by libsamplerate when the output or the decoder is closed. | |||||
2009-01-03 | pcm: use GLib instead of utils.h | Max Kellermann | 1 | -5/+4 | |
2008-12-29 | pcm: use GLib logging | Max Kellermann | 1 | -12/+16 | |
2008-10-24 | pcm_resample: support for libsamplerate < 0.1.3 | Max Kellermann | 1 | -0/+20 | |
libsamplerate 0.1.2 didn't have the 32 bit <-> float conversion routines. Emulate them in case they aren't supported. | |||||
2008-10-23 | pcm_resample: implemented 24 bit resampling | Max Kellermann | 1 | -0/+53 | |
Similar to pcm_resample_16(), implement pcm_resample_24(). The 24 bit implementation is very similar, but it uses src_int_to_float_array() instead of src_short_to_float_array() before sending data to libsamplerate. | |||||
2008-10-23 | pcm_resample: moved code to pcm_resample_set() | Max Kellermann | 1 | -29/+40 | |
A future patch will implement a 24 bit resampler. To unify code, move code which can be shared to a separate function. | |||||
2008-10-23 | pcm_resample: don't resample partial samples | Max Kellermann | 1 | -0/+4 | |
Added assertions which ensure that there are no partial samples in the source buffer. | |||||
2008-10-23 | pcm_resample: don't hard-code sample size | Max Kellermann | 1 | -3/+3 | |
Use sizeof(sample) instead of hard-coding "2". Although we're in 16 bit right now, this will make code sharing easier when we support other sample sizes. | |||||
2008-10-23 | pcm_utils: moved code to pcm_resample.c | Max Kellermann | 1 | -0/+140 | |
Separate the resampling code from the rest of pcm_utils.c. Create two sub-libraries: pcm_resample_libsamplerate.c and pcm_resample_fallback.c. |