aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/plugins/AudiofileDecoderPlugin.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-11-10decoder/audiofile: fix bit rate calculationMax Kellermann1-1/+1
2014-09-19decoder/audiofile: fix indentMax Kellermann1-1/+1
2014-08-29TagHandler: pass SongTime to duration()Max Kellermann1-7/+7
2014-08-29DecoderAPI: pass SignedSongTime to decoder_initialized()Max Kellermann1-8/+6
2014-08-26decoder/audiofile: use integer seek timesMax Kellermann1-2/+1
2014-08-19InputStream: move typedef offset_type to Offset.hxxMax Kellermann1-1/+1
Reduce header dependencies.
2014-08-19decoder/audiofile: check InputStream::KnownSize()Max Kellermann1-2/+2
The plugin assumes that the size is known, but does not verify it at runtime.
2014-07-10decoder/audiofile: log libaudiofile errorsMax Kellermann1-4/+15
2014-07-10decoder/audiofile: make variables more localMax Kellermann1-28/+24
2014-07-10decoder/audiofile: implement scan_stream() instead of scan_file()Max Kellermann1-23/+23
2014-07-10decoder/audiofile: use audiofile_get_duration() in _stream_decode()Max Kellermann1-5/+2
2014-07-10decoder/audiofile: split audiofile_get_duration()Max Kellermann1-4/+11
2014-07-09decoder/audiofile: remove unused Error variableMax Kellermann1-1/+0
2014-05-22InputStream: make Seek() always absoluteMax Kellermann1-3/+7
Remove the "whence" parameter that is not actually necessary, and only complicates the InputStream implementations.
2014-02-07DecoderPlugin: pass Path instance to file_decode() and scan_file()Max Kellermann1-5/+8
2014-01-24Input*: move to input/Max Kellermann1-1/+1
2014-01-24decoder/*: move to decoder/plugins/Max Kellermann1-1/+1
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-10-23input_stream: rename struct to InputStreamMax Kellermann1-14/+14
2013-10-21decoder: rename the struct to "Decoder"Max Kellermann1-1/+1
2013-10-21decoder_plugin: rename struct to DecoderPluginMax Kellermann1-1/+1
2013-10-02Log: new logging library APIMax Kellermann1-13/+15
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-27DecoderCommand: convert to strictly-typed enumMax Kellermann1-4/+4
2013-09-05Tag, ...: move to libtag.aMax Kellermann1-1/+1
2013-09-05InputLegacy: move functions to the input_stream classMax Kellermann1-7/+8
2013-09-04util/Error: new error passing libraryMax Kellermann1-11/+11
Replaces GLib's GError.
2013-08-03audio_format: convert to C++Max Kellermann1-10/+10
2013-07-29audio_check: convert to C++Max Kellermann1-1/+1
2013-07-29tag_handler: convert to C++Max Kellermann1-1/+1
2013-07-28decoder_api: convert to C++Max Kellermann1-1/+1
2013-07-28decoder/audiofile: convert to C++Max Kellermann1-19/+25
2013-01-26input_stream: forward-declare the structMax Kellermann1-5/+5
Hide the definition from C code, to prepare the transition to C++.
2012-03-19decoder/audiofile: fix compiler warnings with libaudiofile 0.3.3Jonathan Neuschäfer1-4/+4
This might break older versions, I didn't test.
2012-02-15decoder/audiofile: fix compiler warnings with libaudiofile 0.3.3Jonathan Neuschäfer1-4/+4
This might break older versions, I didn't test.
2012-02-11decoder_plugin: scan tags with callback tableMax Kellermann1-8/+9
Pass a callback table to scan_file() and scan_stream(), instead of returning a tag object.
2011-09-17decoder/audiofile: include stdio header for SEEK_* definesTim Harder1-0/+1
The stdio header is no longer pulled in by af_vfs.h in audiofile-0.3.0.
2011-09-16input_stream: non-blocking I/OMax Kellermann1-2/+2
Add GMutex, GCond attributes which will be used by callers to conditionally wait on the stream. Remove the (now-useless) plugin method buffer(), wait on GCond instead. Lock the input_stream before each method call. Do the same with the playlist plugins.
2011-02-09general: whitespace cleanupThomas Jansen1-1/+1
Remove trailing whitespace found by this command: find -name '*.[ch]' | xargs grep "[[:space:]]$"
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-01-04renamed decoder plugin sourcesMax Kellermann1-0/+0
Make it X_decoder_plugin.c.
2010-01-04decoder_api: added function decoder_replay_gain()Max Kellermann1-1/+1
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.
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-12-26decoder_api: added function decoder_timestamp()Max Kellermann1-6/+3
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.
2009-12-15input_stream: return errors with GErrorMax Kellermann1-3/+13
2009-12-02audio_format: changed "bits" to "enum sample_format"Max Kellermann1-3/+23
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-14decoder/audio: eliminate the "bits" variableMax Kellermann1-4/+1
Pass the audiofile_setup_sample_format() result to audio_format_init_checked().
2009-11-14decoder/audiofile: moved code to audiofile_setup_sample_format()Max Kellermann1-10/+20
2009-11-14decoder: use audio_format_init_checked()Max Kellermann1-7/+9
Let the audio_check library verify the audio format in all (relevant, i.e. non-hardcoded) plugins.
2009-11-12include config.h in all sourcesMax Kellermann1-1/+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.
2009-07-19Add audio_format_init() functionDavid Woodhouse1-5/+3
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.