aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/mad_plugin.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* decoder: switch a bunch of plugins to stream_tag()Max Kellermann2009-12-311-12/+8
| | | | | | | | | | 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.
* decoder_api: added function decoder_timestamp()Max Kellermann2009-12-261-1/+0
| | | | | | 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.
* input_stream: return errors with GErrorMax Kellermann2009-12-151-2/+2
|
* audio_format: changed "bits" to "enum sample_format"Max Kellermann2009-12-021-1/+2
| | | | | | 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.
* decoder: use audio_format_init_checked()Max Kellermann2009-11-141-2/+16
| | | | | | Let the audio_check library verify the audio format in all (relevant, i.e. non-hardcoded) plugins.
* include config.h in all sourcesMax Kellermann2009-11-121-2/+2
| | | | | | 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.
* input_stream: use "goffset" instead of "off_t"Max Kellermann2009-10-111-4/+4
| | | | | | | | | | | | The "off_t" type may change when you enable or disable large file support on 32 bit platforms. This caused severe ABI problems within MPD when we enabled LFS for the first time: two sources included config.h and sys/types.h in different order, and had different off_t sizes - leading to memory corruption because of ABI incompatibility. This patch attempts to get rid of all public "off_t" uses: it removes "off_t" from the input_stream ABI/API, and switches to GLib's 64 bit "goffset" type. This may hurt 32 bit embedded platforms a tiny bit, but that's not even measurable.
* Merged release 0.15.2 from branch 'v0.15.x'Max Kellermann2009-08-151-6/+28
|\ | | | | | | | | | | | | Conflicts: NEWS configure.ac
| * mad: skip ID3 frames when libid3tag is disabledMax Kellermann2009-07-221-6/+28
| | | | | | | | | | | | | | When libid3tag is disabled, the libmad decoder plugin is unable to identify ID3 frames. If the file starts with an (unidentified) ID3 frame, it assumes that the file is not a valid MP3 song. This patch solves this by adding minimal stubs for the ID3 functions.
* | Add audio_format_init() functionDavid Woodhouse2009-07-191-8/+2
|/ | | | | It makes no difference right now, but we're about to add an endianness flag and will want to make sure it's correctly initialised every time.
* mad_decoder: use g_ascii_strcasecmp() instead of strcasecmp()Max Kellermann2009-04-281-4/+4
| | | | | strcasecmp() is locale dependent, making it a bad choice for internal string comparisons.
* all: Update copyright header.Avuton Olrich2009-03-131-6/+7
| | | | | | | | 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.
* decoders: added and fixed GLib log domainsMax Kellermann2009-02-171-3/+5
| | | | | Fixed the log domains of the renamed decoders. Added G_LOG_DOMAIN macros in decoders which don't have one already.
* renamed decoder plugin "mp3" to "mad"Max Kellermann2009-02-161-0/+1218
A decoder plugin should be named after the library which is used.