- 20 Jul, 2011 1 commit
-
-
Max Kellermann authored
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.
-
- 16 Mar, 2011 2 commits
-
-
Max Kellermann authored
Without the ogg_stream_reset() call, the "e_o_s" flag never gets reset, and libogg writes EOS packets over and over.
-
Max Kellermann authored
Without the ogg_stream_reset() call, the "e_o_s" flag never gets reset, and libogg writes EOS packets over and over.
-
- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 25 Sep, 2010 1 commit
-
-
Thomas Jansen authored
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.
-
- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 03 Dec, 2009 2 commits
-
-
Viliam Mateicka authored
-
Viliam Mateicka authored
-
- 02 Dec, 2009 1 commit
-
-
Max Kellermann authored
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.
-
- 12 Nov, 2009 1 commit
-
-
Max Kellermann authored
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.
-
- 05 May, 2009 2 commits
-
-
Max Kellermann authored
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.
-
Max Kellermann authored
-
- 25 Apr, 2009 1 commit
-
-
Max Kellermann authored
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.
-
- 15 Mar, 2009 6 commits
-
-
Max Kellermann authored
Copy all tags know to MPD to the vorbis_comment.
-
Max Kellermann authored
Allocate the vorbis_comment object when it's used. It is not used anymore in vorbis_encoder_tag().
-
Max Kellermann authored
Don't reinitialize the encoder with every tag.
-
Max Kellermann authored
Prepare the removal of vorbis_encoder.vc.
-
Max Kellermann authored
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.
-
Max Kellermann authored
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.
-
- 13 Mar, 2009 1 commit
-
-
Avuton Olrich authored
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.
-
- 27 Feb, 2009 1 commit
-
-
Max Kellermann authored
Renamed numOfItems to num_items.
-
- 24 Feb, 2009 1 commit
-
-
Max Kellermann authored
Don't return an uninitialized bool variable.
-
- 22 Feb, 2009 1 commit
-
-
Max Kellermann authored
This new vorbis encoder plugin is based on the existing shout_ogg.c plugin.
-