Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-12-26 | EncoderPlugin: pass Tag reference to method tag() | Max Kellermann | 1 | -2/+2 | |
2014-12-04 | util/StringUtil: add ToUpperASCII() | Max Kellermann | 1 | -4/+3 | |
Replaces g_ascii_strup() and allows building the Vorbis encoder without GLib. | |||||
2014-12-02 | encoder/vorbis: convert pointers to references | Max Kellermann | 1 | -67/+67 | |
2014-07-12 | Tag: add class const_iterator and methods begin(), end() | Max Kellermann | 1 | -2/+1 | |
Enables using range-based "for". | |||||
2014-01-24 | Config*: move to config/ | Max Kellermann | 1 | -1/+1 | |
2014-01-23 | Encoder*: move to src/encoder | Max Kellermann | 1 | -1/+1 | |
.. and move the plugins to src/encoder/plugins/. | |||||
2014-01-13 | copyright year 2014 | Max Kellermann | 1 | -1/+1 | |
2013-11-28 | include cleanup using iwyu | Max Kellermann | 1 | -2/+0 | |
2013-10-30 | *: update copyright year to 2013 | Max Kellermann | 1 | -1/+1 | |
2013-10-21 | util/NumberParser: utilities for parsing numbers from ASCII strings | Max Kellermann | 1 | -2/+3 | |
2013-10-19 | encoder/{opus,vorbis}: new serial generator replacing g_random_int() | Max Kellermann | 1 | -2/+3 | |
2013-10-02 | Log: new logging library API | Max Kellermann | 1 | -3/+0 | |
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||||
2013-09-26 | *Plugin: remove redundant "line %i" from error messages | Max Kellermann | 1 | -13/+8 | |
The MPD core will add this as a prefeix. | |||||
2013-09-05 | Tag, ...: move to libtag.a | Max Kellermann | 1 | -1/+1 | |
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -33/+33 | |
Replaces GLib's GError. | |||||
2013-08-04 | *: use gcc.h macros instead of GLib | Max Kellermann | 1 | -5/+5 | |
2013-08-04 | EncoderPlugin: pass config_param reference | Max Kellermann | 1 | -9/+9 | |
2013-08-03 | audio_format: convert to C++ | Max Kellermann | 1 | -7/+6 | |
2013-07-30 | tag: convert to C++ | Max Kellermann | 1 | -6/+6 | |
2013-07-30 | encoder_api: convert to C++ | Max Kellermann | 1 | -17/+14 | |
2013-01-30 | {encoder,output}_api.h: allow compiling as C++ | Max Kellermann | 1 | -4/+0 | |
2013-01-15 | encoder/{Vorbis,Opus}: use new/delete | Max Kellermann | 1 | -4/+7 | |
2012-10-02 | encoder/{vorbis,opus}: merge code to new class OggStream | Max Kellermann | 1 | -46/+13 | |
2012-10-02 | encoder/vorbis: accept floating point input samples | Max Kellermann | 1 | -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-02 | encoder/vorbis: use C++ compiler | Max Kellermann | 1 | -23/+26 | |
2012-10-02 | encoder/vorbis: make variables more local | Max Kellermann | 1 | -20/+12 | |
2012-04-05 | encoder/vorbis: generate end-of-stream packet when playback ends | Max Kellermann | 1 | -0/+1 | |
Add the encoder_plugin method end(). This is important for the recorder plugin. | |||||
2012-04-04 | encoder/vorbis: generate end-of-stream packet before tag | Max Kellermann | 1 | -2/+0 | |
Don't reset the ogg_stream_state object, because this discards the end-of-stream packet that was just added. | |||||
2011-07-20 | encoder_plugin: add method pre_tag() | Max Kellermann | 1 | -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-16 | encoder/vorbis: reset the Ogg stream after flush | Max Kellermann | 1 | -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-16 | encoder/vorbis: reset the Ogg stream after flush | Max Kellermann | 1 | -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-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2010-09-25 | eliminate g_error() usage | Thomas Jansen | 1 | -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-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-12-03 | encoders: remove unnessesary pointers to const strings | Viliam Mateicka | 1 | -3/+1 | |
2009-12-03 | encoders: implement new get_mime_types method | Viliam Mateicka | 1 | -0/+9 | |
2009-12-02 | audio_format: changed "bits" to "enum sample_format" | Max Kellermann | 1 | -1/+1 | |
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-12 | include config.h in all sources | Max Kellermann | 1 | -0/+1 | |
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-05-05 | vorbis_encoder: start a new stream in tag() | Max Kellermann | 1 | -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-05 | vorbis_encoder: moved code to vorbis_encoder_headerout() | Max Kellermann | 1 | -5/+10 | |
2009-04-25 | vorbis_encoder: reinitialize vorbis_dsp_state after flush | Max Kellermann | 1 | -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-15 | vorbis_encoder: added support for all MPD tag types | Max Kellermann | 1 | -29/+4 | |
Copy all tags know to MPD to the vorbis_comment. | |||||
2009-03-15 | vorbis_encoder: removed vorbis_encoder.vc | Max Kellermann | 1 | -4/+6 | |
Allocate the vorbis_comment object when it's used. It is not used anymore in vorbis_encoder_tag(). | |||||
2009-03-15 | vorbis_encoder: use vorbis_commentheader_out() in the tag() method | Max Kellermann | 1 | -6/+15 | |
Don't reinitialize the encoder with every tag. | |||||
2009-03-15 | vorbis_encoder: pass vorbis_comment to tag helper functions | Max Kellermann | 1 | -9/+9 | |
Prepare the removal of vorbis_encoder.vc. | |||||
2009-03-15 | vorbis_encoder: make ogg_page a local variable | Max Kellermann | 1 | -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-15 | vorbis_encoder: fill the ogg_page in the read() method | Max Kellermann | 1 | -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-13 | all: Update copyright header. | Avuton Olrich | 1 | -3/+4 | |
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-27 | tag: no CamelCase | Max Kellermann | 1 | -1/+1 | |
Renamed numOfItems to num_items. | |||||
2009-02-24 | vorbis_encoder: vorbis_encoder_clear() returns void | Max Kellermann | 1 | -5/+1 | |
Don't return an uninitialized bool variable. |