aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoder (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* {decoder,encoder}/flac: drop support for libFLAC 1.1Max Kellermann2012-10-021-26/+5
|
* encoder/opus: implement lookaheadMax Kellermann2012-10-021-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.
* encoder/opus: initialize the "granulepos" packet attributeMax Kellermann2012-10-021-1/+5
|
* encoder/{vorbis,opus}: merge code to new class OggStreamMax Kellermann2012-10-023-89/+154
|
* encoder/vorbis: accept floating point input samplesMax Kellermann2012-10-021-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.
* encoder/opus: call ogg_stream_flush() only in the last iterationMax Kellermann2012-10-021-4/+4
| | | | If there are multiple pages, the last partial page must be flushed.
* encoder/opus: new encoder plugin for the Opus codecMax Kellermann2012-10-022-0/+442
|
* encoder/vorbis: use C++ compilerMax Kellermann2012-10-022-23/+51
|
* encoder/vorbis: make variables more localMax Kellermann2012-10-021-20/+12
|
* Merge branch 'v0.16.x'Max Kellermann2012-04-053-2/+3
|\ | | | | | | | | | | Conflicts: src/output/osx_plugin.c src/text_input_stream.c
| * encoder/vorbis: generate end-of-stream packet when playback endsMax Kellermann2012-04-053-0/+3
| | | | | | | | | | Add the encoder_plugin method end(). This is important for the recorder plugin.
| * encoder/vorbis: generate end-of-stream packet before tagMax Kellermann2012-04-041-2/+0
| | | | | | | | | | Don't reset the ogg_stream_state object, because this discards the end-of-stream packet that was just added.
* | audio_format: remove the packed S24 formatMax Kellermann2012-03-221-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.
* | Merge branch 'v0.16.x'Max Kellermann2011-11-283-54/+67
|\| | | | | | | | | | | | | | | | | | | Conflicts: Makefile.am NEWS configure.ac src/encoder/flac_encoder.c src/log.c src/pcm_buffer.c
| * encoder/wave: support packed 24 bit samplesMax Kellermann2011-11-281-0/+5
| | | | | | | | Convert to padded 24 bit samples, instead of falling back to 16 bit.
| * encoder/null: use fifo_buffer instead of pcm_bufferMax Kellermann2011-11-281-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.
| * encoder/wave: use fifo_buffer instead of pcm_bufferMax Kellermann2011-11-281-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.
| * encoder/flac: use fifo_buffer instead of pcm_bufferMax Kellermann2011-11-281-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.
* | Merge branch 'v0.16.x'Max Kellermann2011-07-201-0/+11
|\| | | | | | | | | | | Conflicts: src/player_thread.c src/playlist_control.c
| * encoder_plugin: add method pre_tag()Max Kellermann2011-07-201-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.
* | fix common misspellingsJonathan Neuschäfer2011-03-311-1/+1
| | | | | | | | | | | | | | These fixes were mostly generated with `codespell' [0] and manually reviewed. [0] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
* | Merge commit 'release-0.16.2'Max Kellermann2011-03-193-5/+7
|\| | | | | | | | | | | | | Conflicts: Makefile.am NEWS configure.ac
| * encoder/vorbis: reset the Ogg stream after flushMax Kellermann2011-03-161-0/+2
| | | | | | | | | | Without the ogg_stream_reset() call, the "e_o_s" flag never gets reset, and libogg writes EOS packets over and over.
| * general: whitespace cleanupThomas Jansen2011-02-092-5/+5
| | | | | | | | | | Remove trailing whitespace found by this command: find -name '*.[ch]' | xargs grep "[[:space:]]$"
* | copyright year 2011Max Kellermann2011-01-296-6/+6
|/
* Merge branch 'v0.15.x' into v0.16.xMax Kellermann2011-01-071-0/+7
|\ | | | | | | | | | | | | Conflicts: NEWS configure.ac src/directory.h
| * encoder/lame: explicitly configure the output sample rateMax Kellermann2011-01-071-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.