aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoder (follow)
Commit message (Collapse)AuthorAgeFilesLines
* OpusEncoderPlugin: initialise granulepos so we end up with sane valuesMichal Nazarewicz2015-03-251-1/+1
| | | | | | | Not initialising granulepos leads to it having arbitrary values in the encoded stream including possibly negative values which are not valid and confuse opusdec. Explicitly initialise opus_encoder::granulepos to avoid that problem.
* encoder/shine: require libshine 3.1, adapt to new APIMax Kellermann2014-08-131-3/+3
| | | | | | | The "written" argument to shine_encode_buffer() and shine_flush() was changed from "long" to "int", which breaks API and ABI compatibility. This is a big deal, and it doesn't seem worthwile to keep support for the (broken) 3.0 release.
* encoder/opus: use nullptr instead of NULLMax Kellermann2014-07-301-1/+1
|
* Tag: add class const_iterator and methods begin(), end()Max Kellermann2014-07-121-2/+1
| | | | Enables using range-based "for".
* encoder/opus: use xalloc() instead of g_malloc()Max Kellermann2014-02-221-6/+5
|
* Config*: move to config/Max Kellermann2014-01-247-7/+7
|
* Encoder*: move to src/encoderMax Kellermann2014-01-2323-8/+477
| | | | .. and move the plugins to src/encoder/plugins/.
* Merge branch 'shine' of git://github.com/ekroth/mpdMax Kellermann2014-01-131-5/+17
|\
| * encoder/shine: fix segfault workaroundAndrée Ekroth2014-01-131-5/+17
| | | | | | | | | | | | | | Initializing and closing the Shine library without writing any data results in a segmentation fault. The current workaround writes zeroes if there was no actual data.
* | copyright year 2014Max Kellermann2014-01-1317-17/+17
|/
* encoder/shine: remove unnecessary bufferAndrée Ekroth2014-01-131-42/+44
| | | | | | | Now writes to the de-interleaved buffers directly, instead of writing to an intermediate fifo buffer. Fix indentation and 80 char width lines.
* Shine encoding pluginAndrée Ekroth2014-01-132-0/+282
| | | | | | | | | | | | | | | | | This encoding plugin features a fixed-point mp3 encoder, with faster encoding on architectures without a FPU. Right now the encoder is limited to stereo and 16 bit depth. The bitrate and sample rate can be modified in audio_output. audio_output { type "httpd" name "My shine stream" encoder "shine" port "8000" format "44100:16:2" bitrate "320" # default: 128 }
* util/DynamicFifoBuffer: new class replacing growing_fifoMax Kellermann2013-12-053-67/+30
|
* include cleanup using iwyuMax Kellermann2013-11-282-3/+0
|
* filter/route, ...: add missing stdlib.h includesMax Kellermann2013-11-111-0/+1
|
* *: update copyright year to 2013Max Kellermann2013-10-307-7/+7
|
* util/NumberParser: utilities for parsing numbers from ASCII stringsMax Kellermann2013-10-213-10/+9
|
* encoder/{opus,vorbis}: new serial generator replacing g_random_int()Max Kellermann2013-10-194-3/+77
|
* encoder/wave: include cleanupMax Kellermann2013-10-191-2/+0
|
* system/ByteOrder: new library for byte ordering / endianessMax Kellermann2013-10-162-51/+52
| | | | Replacing GLib macros.
* encoder/wave: use delete to dispose the WaveEncoder objectMax Kellermann2013-10-161-1/+1
|
* Client, ...: remove unnecessary glib.h includeMax Kellermann2013-10-151-2/+0
|
* gcc.h: rename to Compiler.hMax Kellermann2013-10-151-1/+1
|
* Log: new logging library APIMax Kellermann2013-10-023-7/+3
| | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
* *Plugin: remove redundant "line %i" from error messagesMax Kellermann2013-09-263-39/+24
| | | | The MPD core will add this as a prefeix.
* Tag, ...: move to libtag.aMax Kellermann2013-09-051-1/+1
|
* util/Error: new error passing libraryMax Kellermann2013-09-047-192/+174
| | | | Replaces GLib's GError.
* encoder/lame: use ReusableBuffer instead of AllocatedArrayMax Kellermann2013-08-071-23/+13
|
* add missing includesMax Kellermann2013-08-071-0/+2
|
* encoder/lame: dynamic output bufferMax Kellermann2013-08-061-4/+18
|
* encoder/lame: use delete instead of g_free()Max Kellermann2013-08-061-1/+1
|
* encoder/lame: use lame_encode_buffer_interleaved()Max Kellermann2013-08-061-14/+5
| | | | Don't deinterleave manually, don't allocate memory.
* encoder/lame: use offset variable instead of memmove()Max Kellermann2013-08-062-17/+36
|
* encoder/lame: rename "buffer" to "output_buffer"Max Kellermann2013-08-062-31/+33
|
* *: use gcc.h macros instead of GLibMax Kellermann2013-08-043-14/+14
|
* EncoderPlugin: pass config_param referenceMax Kellermann2013-08-047-42/+40
|
* audio_format: convert to C++Max Kellermann2013-08-037-65/+67
|
* tag: convert to C++Max Kellermann2013-07-301-6/+6
|
* encoder_api: convert to C++Max Kellermann2013-07-3014-119/+94
|
* encoder/lame,twolame: convert to C++Max Kellermann2013-07-304-104/+154
|
* encoder/wave: convert to C++Max Kellermann2013-07-302-26/+58
|
* encoder/null: convert to C++Max Kellermann2013-07-302-24/+54
|
* pcm_buffer: convert to C++Max Kellermann2013-07-301-7/+5
|
* encoder/flac: convert to C++Max Kellermann2013-07-292-22/+56
|
* fix overwriting bitrate with signal typeMatthias Larisch2013-06-241-3/+3
| | | | | | | I recently opened a bug: http://bugs.musicpd.org/view.php?id=3787 The main problem is that opus encoder config for signal overwrote bitrate setting.
* pcm_*: move to src/pcm/Max Kellermann2013-04-091-1/+1
|
* filter/chain, encoder: GLib include cleanupMax Kellermann2013-01-304-28/+27
|
* {encoder,output}_api.h: allow compiling as C++Max Kellermann2013-01-302-8/+0
|
* encoder/{Vorbis,Opus}: use new/deleteMax Kellermann2013-01-152-10/+14
|
* fifo_buffer: move to util/Max Kellermann2013-01-153-6/+6
|