aboutsummaryrefslogtreecommitdiff
path: root/src/encoder
Commit message (Collapse)AuthorAge
* encoder/vorbis: make variables more localMax Kellermann2012-10-02
|
* Merge branch 'v0.16.x'Max Kellermann2012-04-05
|\ | | | | | | | | | | Conflicts: src/output/osx_plugin.c src/text_input_stream.c
| * encoder/vorbis: generate end-of-stream packet when playback endsMax Kellermann2012-04-05
| | | | | | | | | | Add the encoder_plugin method end(). This is important for the recorder plugin.
| * encoder/vorbis: generate end-of-stream packet before tagMax Kellermann2012-04-04
| | | | | | | | | | 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-22
| | | | | | | | | | | | 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-28
|\| | | | | | | | | | | | | | | | | | | 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-28
| | | | | | | | Convert to padded 24 bit samples, instead of falling back to 16 bit.
| * encoder/null: use fifo_buffer instead of pcm_bufferMax Kellermann2011-11-28
| | | | | | | | | | | | 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-28
| | | | | | | | | | | | 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-28
| | | | | | | | | | | | 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-20
|\| | | | | | | | | | | Conflicts: src/player_thread.c src/playlist_control.c
| * encoder_plugin: add method pre_tag()Max Kellermann2011-07-20
| | | | | | | | | | | | | | 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-31
| | | | | | | | | | | | | | 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-19
|\| | | | | | | | | | | | | Conflicts: Makefile.am NEWS configure.ac
| * encoder/vorbis: reset the Ogg stream after flushMax Kellermann2011-03-16
| | | | | | | | | | 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-09
| | | | | | | | | | Remove trailing whitespace found by this command: find -name '*.[ch]' | xargs grep "[[:space:]]$"
* | copyright year 2011Max Kellermann2011-01-29
|/
* Merge branch 'v0.15.x' into v0.16.xMax Kellermann2011-01-07
|\ | | | | | | | | | | | | Conflicts: NEWS configure.ac src/directory.h
| * encoder/lame: explicitly configure the output sample rateMax Kellermann2011-01-07
| | | | | | | | | | | | | | | | | | 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.
* | Merge release 0.15.13 from branch 'v0.15.x'Max Kellermann2010-10-11
|\| | | | | | | | | | | | | | | Conflicts: NEWS configure.ac src/input/rewind_input_plugin.c src/output/httpd_output_plugin.c
* | eliminate g_error() usageThomas Jansen2010-09-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Update copyright notices.Avuton Olrich2009-12-31
| |
* | encoder/flac: fix write callback prototype for libFLAC 1.1.2Max Kellermann2009-12-15
| |
* | encoders: remove unnessesary pointers to const stringsViliam Mateicka2009-12-03
| |
* | encoders: implement new get_mime_types methodViliam Mateicka2009-12-03
| |
* | null_encoder: use pcm_bufferViliam Mateicka2009-12-03
| |
* | flac_encoder: add support for libFLAC < 1.1.3Viliam Mateicka2009-12-03
| |
* | audio_format: changed "bits" to "enum sample_format"Max Kellermann2009-12-02
| | | | | | | | | | | | 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.
* | encoder: let wave encoder to use pcm_buffer, pcm conversion code cleanupViliam Mateicka2009-11-17
| |
* | encoder: introducing flac encoder pluginViliam Mateicka2009-11-17
| |
* | include config.h in all sourcesMax Kellermann2009-11-12
| | | | | | | | | | | | 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.
* | wave_encoder: new encoder for streaming PCM wave files.Viliam Mateicka2009-11-10
| | | | | | | | | | | | When using wave encoder with httpd audio output mpd can input this stream via http and audiofile decoder. This for example opens simple way to configure lossless audio streaming port(like jack or pulseaudio does but without overhead). Another possibility can be using it for gathering raw data for visualization plugins (If sync issue will be resolved)
* | encoder/null: removed empty close() methodMax Kellermann2009-11-08
| | | | | | | | That's an optional method.
* | encoder/null: removed unused audio_format attributeMax Kellermann2009-11-08
| |
* | encoder: renaming none_encoder to null_encoderViliam Mateicka2009-10-26
| |
* | encoder: new encoder plugin which just pass data throughViliam Mateicka2009-10-24
| |
* | encoder/twolame: new encoder plugin based on libtwolameMax Kellermann2009-07-14
|/ | | | | | | This encoder plugin is a replacement for the LAME encoder plugin for those who prefer a "free" (non-patent encumbered) encoder library. Most of the plugin source code is copied from the LAME encoder plugin, since the LAME and TwoLAME APIs are nearly the same.
* vorbis_encoder: start a new stream in tag()Max Kellermann2009-05-05
| | | | | | | When a new tag is set, end the current stream and begin a new one. Use vorbis_analysis_headerout() to write a full ogg header. This fixes a problem with icecast: after a song change in MPD, icecast stops forwarding ogg packets to its clients.
* vorbis_encoder: moved code to vorbis_encoder_headerout()Max Kellermann2009-05-05
|
* vorbis_encoder: reinitialize vorbis_dsp_state after flushMax Kellermann2009-04-25
| | | | | | | libvorbis goes into a very long loop if we try to add data after a flush was invoked by vorbis_analysis_wrote(0). This seems to be a problem with the internal end-of-stream marker. Thus, we cannot reuse the vorbis_dsp_state object.
* vorbis_encoder: added support for all MPD tag typesMax Kellermann2009-03-15
| | | | Copy all tags know to MPD to the vorbis_comment.
* vorbis_encoder: removed vorbis_encoder.vcMax Kellermann2009-03-15
| | | | | Allocate the vorbis_comment object when it's used. It is not used anymore in vorbis_encoder_tag().
* vorbis_encoder: use vorbis_commentheader_out() in the tag() methodMax Kellermann2009-03-15
| | | | Don't reinitialize the encoder with every tag.
* vorbis_encoder: pass vorbis_comment to tag helper functionsMax Kellermann2009-03-15
| | | | Prepare the removal of vorbis_encoder.vc.
* vorbis_encoder: make ogg_page a local variableMax Kellermann2009-03-15
| | | | | | Converted the ogg_page attribute from the vorbis_encoder struct to a local function of vorbis_encoder_read(). This simplifies some code, because we don't need to check the page anymore before using it.
* vorbis_encoder: fill the ogg_page in the read() methodMax Kellermann2009-03-15
| | | | | | | Add the "flush" flag, and defer the ogg_stream_flush() call. Call ogg_stream_pageout() or ogg_stream_flush() (depending on the "flush" flag) in vorbis_encoder_read(). This prevents the ogg_page from getting overwritten by consecutive ogg_stream_pageout() calls.
* all: Update copyright header.Avuton Olrich2009-03-13
| | | | | | | | 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.
* tag: no CamelCaseMax Kellermann2009-02-27
| | | | Renamed numOfItems to num_items.
* vorbis_encoder: vorbis_encoder_clear() returns voidMax Kellermann2009-02-24
| | | | Don't return an uninitialized bool variable.
* encoder: added lame mp3 encoderMax Kellermann2009-02-22
| | | | | This new LAME encoder plugin is based on the existing shout_mp3.c plugin.