- 06 Jan, 2010 5 commits
-
-
Max Kellermann authored
Easier to reuse the function.
-
Max Kellermann authored
Invoke decoder_initialized() in the libFLAC metadata callback. This merges code from the FLAC and the OggFLAC decoder plugin into the common library.
-
Max Kellermann authored
-
Max Kellermann authored
This feature has been moved to the "flac" playlist plugin.
-
Max Kellermann authored
Make this code is reusable.
-
- 04 Jan, 2010 4 commits
-
-
Max Kellermann authored
Make it X_decoder_plugin.c.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This function replaces the replay_gain_info parameter for decoder_data(). This allows the decoder to announce replay gain changes, instead of having to pass the same object over and over.
-
- 01 Jan, 2010 2 commits
-
-
Max Kellermann authored
Major API redesign: don't let the caller allocate the input_stream object. Let each input plugin allocate its own (derived/extended) input_stream pointer. The "data" attribute can now be removed, and all input plugins simply cast the input_stream pointer to their own structure (with an "struct input_stream base" as the first attribute).
-
Avuton Olrich authored
-
- 31 Dec, 2009 2 commits
-
-
Max Kellermann authored
This patch changes the following decoder plugins to implement stream_tag() instead of tag_dup(): faad, ffmpeg, mad, modplug, mp4ff, mpcdec, oggflac This simplifies their code, because they do not need to take care of opening/closing the stream.
-
Max Kellermann authored
This is like tag_dup(), but works with an input_stream object instead of a file path.
-
- 29 Dec, 2009 1 commit
-
-
Max Kellermann authored
Support deprecated MIME types such as "audio/x-ogg". Support new types such as "audio/flac".
-
- 26 Dec, 2009 2 commits
-
-
Max Kellermann authored
Remove the data_time parameter from decoder_data(). This patch eliminates the timestamp counting in most decoder plugins, because the MPD core will do it automatically by default.
-
Max Kellermann authored
First multiply the floating point return value of decoder_seek_where(), then cast to integer.
-
- 16 Dec, 2009 1 commit
-
-
Alam Arias authored
-
- 15 Dec, 2009 1 commit
-
-
Max Kellermann authored
-
- 14 Dec, 2009 1 commit
-
-
Max Kellermann authored
Removed local variable "sample_rate".
-
- 11 Dec, 2009 1 commit
-
-
Max Kellermann authored
Use the signed C99 type int8_t instead.
-
- 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.
-
- 30 Nov, 2009 1 commit
-
-
Max Kellermann authored
The plugin code tried to force libavcodec to supply stereo samples. That however has never actually worked. By removing this code, we are able to play surround files for the first time.
-
- 25 Nov, 2009 1 commit
-
-
Max Kellermann authored
This fixes a regression due to a typo caused by "decoder: use audio_format_init_checked()".
-
- 19 Nov, 2009 1 commit
-
-
Max Kellermann authored
Removed the "vtrack" local variable (which triggered a gcc warning because it was after the newly introduced NULL check), and run strtol() on the original parameter.
-
- 18 Nov, 2009 1 commit
-
-
Max Kellermann authored
The function flac_vtrack_tnum() was missing a strrchr()==NULL check.
-
- 15 Nov, 2009 1 commit
-
-
Max Kellermann authored
On some platforms, libavcodec wants the output buffer aligned to 16 bytes (because it uses SSE/Altivec internally). It will segfault when you don't obey this rule.
-
- 14 Nov, 2009 12 commits
-
-
Max Kellermann authored
Pass the audiofile_setup_sample_format() result to audio_format_init_checked().
-
Max Kellermann authored
-
Max Kellermann authored
Don't maintain the current time stamp in a floating point variable, because this is subject to rounding errors.
-
Max Kellermann authored
More exact total time.
-
Max Kellermann authored
Negative return values are not documented here, but since the function prototype is signed, let's be sure.
-
Max Kellermann authored
Don't maintain the current time stamp in a floating point variable, because this is subject to rounding errors.
-
Max Kellermann authored
The new option "sample_rate" sets the sample rate for libmikmod.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
These functions are trivial, we don't need them separate.
-
Max Kellermann authored
Don't allocate this object, put it on the stack.
-
- 13 Nov, 2009 2 commits
-
-
Max Kellermann authored
Let the audio_check library verify the audio format in all (relevant, i.e. non-hardcoded) plugins.
-
Max Kellermann authored
Internally, use only the integer time. When needed, convert it to a floating point seconds value.
-