aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoder (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2009-12-03encoders: implement new get_mime_types methodViliam Mateicka5-0/+45
2009-12-03null_encoder: use pcm_bufferViliam Mateicka1-10/+18
2009-12-03flac_encoder: add support for libFLAC < 1.1.3Viliam Mateicka1-18/+47
2009-12-02audio_format: changed "bits" to "enum sample_format"Max Kellermann5-18/+61
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.
2009-11-17encoder: let wave encoder to use pcm_buffer, pcm conversion code cleanupViliam Mateicka1-29/+27
2009-11-17encoder: introducing flac encoder pluginViliam Mateicka1-0/+296
2009-11-12include config.h in all sourcesMax Kellermann5-0/+5
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-11-10wave_encoder: new encoder for streaming PCM wave files.Viliam Mateicka1-0/+241
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)
2009-11-08encoder/null: removed empty close() methodMax Kellermann1-6/+0
That's an optional method.
2009-11-08encoder/null: removed unused audio_format attributeMax Kellermann1-5/+2
2009-10-26encoder: renaming none_encoder to null_encoderViliam Mateicka1-25/+25
2009-10-24encoder: new encoder plugin which just pass data throughViliam Mateicka1-0/+124
2009-07-14encoder/twolame: new encoder plugin based on libtwolameMax Kellermann1-0/+299
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.
2009-05-05vorbis_encoder: start a new stream in tag()Max Kellermann1-6/+9
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.
2009-05-05vorbis_encoder: moved code to vorbis_encoder_headerout()Max Kellermann1-5/+10
2009-04-25vorbis_encoder: reinitialize vorbis_dsp_state after flushMax Kellermann1-0/+7
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.
2009-03-15vorbis_encoder: added support for all MPD tag typesMax Kellermann1-29/+4
Copy all tags know to MPD to the vorbis_comment.
2009-03-15vorbis_encoder: removed vorbis_encoder.vcMax Kellermann1-4/+6
Allocate the vorbis_comment object when it's used. It is not used anymore in vorbis_encoder_tag().
2009-03-15vorbis_encoder: use vorbis_commentheader_out() in the tag() methodMax Kellermann1-6/+15
Don't reinitialize the encoder with every tag.
2009-03-15vorbis_encoder: pass vorbis_comment to tag helper functionsMax Kellermann1-9/+9
Prepare the removal of vorbis_encoder.vc.
2009-03-15vorbis_encoder: make ogg_page a local variableMax Kellermann1-24/+13
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.
2009-03-15vorbis_encoder: fill the ogg_page in the read() methodMax Kellermann1-4/+23
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.
2009-03-13all: Update copyright header.Avuton Olrich2-6/+8
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-02-27tag: no CamelCaseMax Kellermann1-1/+1
Renamed numOfItems to num_items.
2009-02-24vorbis_encoder: vorbis_encoder_clear() returns voidMax Kellermann1-5/+1
Don't return an uninitialized bool variable.
2009-02-22encoder: added lame mp3 encoderMax Kellermann1-0/+284
This new LAME encoder plugin is based on the existing shout_mp3.c plugin.
2009-02-22encoder: added vorbis encoderMax Kellermann1-0/+388
This new vorbis encoder plugin is based on the existing shout_ogg.c plugin.