aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/mpg123_decoder_plugin.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* decoder_api: added function decoder_timestamp()Max Kellermann2009-12-261-5/+1
| | | | | | 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.
* audio_format: changed "bits" to "enum sample_format"Max Kellermann2009-12-021-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.
* decoder: use audio_format_init_checked()Max Kellermann2009-11-141-3/+6
| | | | | | Let the audio_check library verify the audio format in all (relevant, i.e. non-hardcoded) plugins.
* input_stream: use "goffset" instead of "off_t"Max Kellermann2009-10-111-0/+1
| | | | | | | | | | | | 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.
* decoder/mpg123: new decoder plugin based on libmpg123Max Kellermann2009-08-261-0/+210
Still missing: - seeking - tags - streaming - encodings other than MPG123_ENC_SIGNED_16