aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoder (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-08-07encoder/lame: use ReusableBuffer instead of AllocatedArrayMax Kellermann1-23/+13
2013-08-07add missing includesMax Kellermann1-0/+2
2013-08-06encoder/lame: dynamic output bufferMax Kellermann1-4/+18
2013-08-06encoder/lame: use delete instead of g_free()Max Kellermann1-1/+1
2013-08-06encoder/lame: use lame_encode_buffer_interleaved()Max Kellermann1-14/+5
Don't deinterleave manually, don't allocate memory.
2013-08-06encoder/lame: use offset variable instead of memmove()Max Kellermann2-17/+36
2013-08-06encoder/lame: rename "buffer" to "output_buffer"Max Kellermann2-31/+33
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann3-14/+14
2013-08-04EncoderPlugin: pass config_param referenceMax Kellermann7-42/+40
2013-08-03audio_format: convert to C++Max Kellermann7-65/+67
2013-07-30tag: convert to C++Max Kellermann1-6/+6
2013-07-30encoder_api: convert to C++Max Kellermann14-119/+94
2013-07-30encoder/lame,twolame: convert to C++Max Kellermann4-104/+154
2013-07-30encoder/wave: convert to C++Max Kellermann2-26/+58
2013-07-30encoder/null: convert to C++Max Kellermann2-24/+54
2013-07-30pcm_buffer: convert to C++Max Kellermann1-7/+5
2013-07-29encoder/flac: convert to C++Max Kellermann2-22/+56
2013-06-24fix overwriting bitrate with signal typeMatthias Larisch1-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.
2013-04-09pcm_*: move to src/pcm/Max Kellermann1-1/+1
2013-01-30filter/chain, encoder: GLib include cleanupMax Kellermann4-28/+27
2013-01-30{encoder,output}_api.h: allow compiling as C++Max Kellermann2-8/+0
2013-01-15encoder/{Vorbis,Opus}: use new/deleteMax Kellermann2-10/+14
2013-01-15fifo_buffer: move to util/Max Kellermann3-6/+6
2012-10-02{decoder,encoder}/flac: drop support for libFLAC 1.1Max Kellermann1-26/+5
2012-10-02encoder/opus: implement lookaheadMax Kellermann1-2/+43
The "opusinfo" program complained about preskip value that was too small. This commit uses OPUS_GET_LOOKAHEAD to obtain the number of frames that shall be silence at the beginning.
2012-10-02encoder/opus: initialize the "granulepos" packet attributeMax Kellermann1-1/+5
2012-10-02encoder/{vorbis,opus}: merge code to new class OggStreamMax Kellermann3-89/+154
2012-10-02encoder/vorbis: accept floating point input samplesMax Kellermann1-8/+9
Improves quality by not squeezing 32 bit samples down to 16 bit, and then back to 32 bit floating point. Reduces CPU usage by skipping a conversion step.
2012-10-02encoder/opus: call ogg_stream_flush() only in the last iterationMax Kellermann1-4/+4
If there are multiple pages, the last partial page must be flushed.
2012-10-02encoder/opus: new encoder plugin for the Opus codecMax Kellermann2-0/+442
2012-10-02encoder/vorbis: use C++ compilerMax Kellermann2-23/+51
2012-10-02encoder/vorbis: make variables more localMax Kellermann1-20/+12
2012-04-05encoder/vorbis: generate end-of-stream packet when playback endsMax Kellermann3-0/+3
Add the encoder_plugin method end(). This is important for the recorder plugin.
2012-04-04encoder/vorbis: generate end-of-stream packet before tagMax Kellermann1-2/+0
Don't reset the ogg_stream_state object, because this discards the end-of-stream packet that was just added.
2012-03-22audio_format: remove the packed S24 formatMax Kellermann1-5/+0
For simplicity, the MPD core should not have to deal with packing. It is rarely used, and those plugins that need it should use the pcm_export library instead.
2011-11-28encoder/wave: support packed 24 bit samplesMax Kellermann1-0/+5
Convert to padded 24 bit samples, instead of falling back to 16 bit.
2011-11-28encoder/null: use fifo_buffer instead of pcm_bufferMax Kellermann1-19/+15
This fixes a buffer corruption bug; pcm_buffer is not designed to be a persistent buffers, and will discard anything between two consecutive calls.
2011-11-28encoder/wave: use fifo_buffer instead of pcm_bufferMax Kellermann1-19/+27
This fixes a buffer corruption bug; pcm_buffer is not designed to be a persistent buffers, and will discard anything between two consecutive calls.
2011-11-28encoder/flac: use fifo_buffer instead of pcm_bufferMax Kellermann1-16/+20
This fixes a buffer corruption bug; pcm_buffer is not designed to be a persistent buffers, and will discard anything between two consecutive calls.
2011-07-20encoder_plugin: add method pre_tag()Max Kellermann1-0/+11
In the "vorbis" plugin, this is a copy of the old flush() method, while flush() gets a lot of code remove, it just sets the "flush" flag and nothing else. It doesn't start a new stream now, which should fix a few problems in some players.
2011-03-31fix common misspellingsJonathan Neuschäfer1-1/+1
These fixes were mostly generated with `codespell' [0] and manually reviewed. [0] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
2011-03-16encoder/vorbis: reset the Ogg stream after flushMax Kellermann1-0/+2
Without the ogg_stream_reset() call, the "e_o_s" flag never gets reset, and libogg writes EOS packets over and over.
2011-03-16encoder/vorbis: reset the Ogg stream after flushMax Kellermann1-0/+2
Without the ogg_stream_reset() call, the "e_o_s" flag never gets reset, and libogg writes EOS packets over and over.
2011-02-09general: whitespace cleanupThomas Jansen2-5/+5
Remove trailing whitespace found by this command: find -name '*.[ch]' | xargs grep "[[:space:]]$"
2011-01-29copyright year 2011Max Kellermann6-6/+6
2011-01-07encoder/lame: explicitly configure the output sample rateMax Kellermann1-0/+7
When you don't explicitly set an output sample rate, liblame tries to guess an output sample rate from the input sample rate. You would think that this "guessing" consists of just setting both equal, but that is not the case. For 44.1kHz at 96kbit/s, liblame chooses 32kHz. This patch explicitly configures the output sample rate, to stop the bad guessing.
2010-09-25eliminate g_error() usageThomas Jansen1-1/+2
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.
2009-12-31Update copyright notices.Avuton Olrich6-6/+6
2009-12-15encoder/flac: fix write callback prototype for libFLAC 1.1.2Max Kellermann1-1/+7
2009-12-03encoders: remove unnessesary pointers to const stringsViliam Mateicka5-15/+5