aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/vorbis_plugin.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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-7/+6
| | | | | | 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-4/+1
| | | | | | 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.
* decoder/vorbis: fixed gcc "signed" warningMax Kellermann2009-11-121-2/+2
|
* decoder/vorbis: initialize before entering the loopMax Kellermann2009-11-111-21/+37
| | | | | | | Call decoder_initialize() before entering the loop. We don't need to call ov_read() before ov_info(). When the stream number changes, check if the audio format is still the same.
* decoder/vorbis: moved error strings to vorbis_strerror()Max Kellermann2009-11-111-24/+26
|
* decoder/vorbis: removed the OggCallbackData typedefMax Kellermann2009-11-111-6/+7
| | | | Use the struct name instead.
* decoder/vorbis: fix typo in commentMax Kellermann2009-11-111-1/+1
|
* decoder/vorbis: removed redundant "bits" initializationMax Kellermann2009-11-111-1/+0
| | | | This is done by audio_format_init().
* decoder/{flac,vorbis}: include config.h for LFSMax Kellermann2009-11-111-0/+1
| | | | Allow those plugins to open large files on 32 bit platforms.
* decoder/vorbis: avoid unused symbol warnings from vorbisfile.hSerge Ziryukin2009-10-181-0/+1
| | | | | | | | svn r13289 of libvorbis introduced static callbacks (like OV_CALLBACKS_DEFAULT) defined in "vorbisfile.h" header. First released version with this change is libvorbis-1.2.2. In libversion-1.2.3 OV_EXCLUDE_STATIC_CALLBACKS define was added to avoid warnings about unused static callbacks. Information on the OV_EXCLUDE_STATIC_CALLBACKS can be found in http://svn.xiph.org/trunk/vorbis/CHANGES.
* tag: removed the "_ITEM_" suffix from the enum namesMax Kellermann2009-10-131-3/+3
|
* Merge branch 'v0.15.x'Max Kellermann2009-09-101-1/+1
|\ | | | | | | | | | | | | Conflicts: NEWS configure.ac doc/mpdconf.example
| * decoder/vorbis: revert "faster tag scanning with ov_test_callback()"Max Kellermann2009-09-101-1/+1
| | | | | | | | | | This patch made ov_time_total() unusable, and MPD did not know the duration of songs.
* | Merged release 0.15.3 from branch 'v0.15.x'Max Kellermann2009-08-301-1/+1
|\| | | | | | | | | | | | | Conflicts: NEWS configure.ac
| * decoder/vorbis: faster tag scanning with ov_test_callback()Rasmus Steinke2009-08-241-1/+1
| | | | | | | | | | | | | | | | | | using ov_test_callback with function CALLBACKS_STREAMONLY will cause scanning to stop after the comment field. ov_open (and ov_test) default to CALLBACKS_DEFAULT which scans the file structure causing a huge slowdown. The speed improvement is huge: It scanned my files around 10x faster This procedure has been recommended by monthy (main vorbis developer) and was said to be safe for scanning files.
* | decoder/vorbis: open file in "binary" modeGunnar Roth2009-08-251-1/+1
| | | | | | | | | | fopen change for win32 in tag dup of vorbis win32 adaption for head changes
* | Add audio_format_init() functionDavid Woodhouse2009-07-191-2/+1
|/ | | | | 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.
* vorbis: move #define out of function to top of sourcesAvuton Olrich2009-04-021-1/+1
|
* 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.
* tag: no CamelCaseMax Kellermann2009-02-271-1/+1
| | | | Renamed numOfItems to num_items.
* ls: moved generic URI utilities to uri.cMax Kellermann2009-02-251-1/+1
| | | | | "ls" is a bad name for a library which parses URIs. We'll move the rest of the "ls" library later.
* decoders: added and fixed GLib log domainsMax Kellermann2009-02-171-0/+3
| | | | | Fixed the log domains of the renamed decoders. Added G_LOG_DOMAIN macros in decoders which don't have one already.
* renamed decoder plugin "oggvorbis" to "vorbis"Max Kellermann2009-02-161-0/+415
This plugin uses libvorbis.