Commit Graph

2488 Commits

Author SHA1 Message Date
Josh Coalson
0e46bf5624 do not close any file handles in the callback-based chain reading/writing 2004-07-15 00:04:46 +00:00
Josh Coalson
0b8b56460b add tests of mismatched read/write protections in chain interface 2004-07-15 00:04:09 +00:00
Josh Coalson
b279130eda fix uninitialized variable error turned up by valgrind 2004-07-14 00:51:57 +00:00
Josh Coalson
65831dd1ab add tests for callback-based chain reading/writing 2004-07-14 00:50:52 +00:00
Josh Coalson
028d97ee7b fix bug in FLAC__metadata_chain_check_if_tempfile_needed() 2004-07-14 00:49:56 +00:00
Josh Coalson
463a22cc3a add callback-based versions of chain writing: FLAC__metadata_chain_check_if_tempfile_needed(), FLAC__metadata_chain_write_with_callbacks(), FLAC__metadata_chain_write_with_callbacks_and_tempfile() 2004-07-11 06:41:00 +00:00
Josh Coalson
91748beb86 add FLAC__metadata_chain_read_with_callbacks() 2004-07-10 22:28:03 +00:00
Josh Coalson
ea25cb3615 begin addition of callback-based option to metadata interfaces; start by converting chain reader to callback-based 2004-07-10 00:39:01 +00:00
Josh Coalson
f37a397cf1 get rid of obsolete *_get_decode_position() methods 2004-07-07 07:43:18 +00:00
Josh Coalson
802cd80b76 use the OggFLAC__FileDecoder instead of the old OggFLAC__StreamDecoder way for all Ogg FLAC decoding, and enable use of --skip with Ogg FLAC 2004-07-07 07:38:48 +00:00
Josh Coalson
63f8edc69c revamp OggFLAC__SeekableStreamDecoder to derive from OggFLAC__StreamDecoder instead of FLAC__SeekableStreamDecoder; rewrite seek routine to do a binary search through Ogg pages, instead of the seektable-based search of FLAC__SeekableStreamDecoder 2004-07-07 07:35:02 +00:00
Josh Coalson
6ebbabfd34 fix another possible seeking bug 2004-07-07 07:30:41 +00:00
Josh Coalson
be62f3b229 minor comments 2004-07-07 07:29:13 +00:00
Josh Coalson
ab5c1d15c1 fix bug where calling FLAC__seekable_stream_decoder_set_metadata_ignore_*() to ignore STREAMINFO or SEEKTABLE would also prevent the seekable stream decoder from getting the blocks later, which it needs to be able to seek 2004-07-07 00:36:45 +00:00
Josh Coalson
42a167fe20 use $libdir instead of $prefix/lib to find library dir 2004-05-26 20:20:22 +00:00
Matt Zimmerman
04027adf91 Enure that libFLAC is linked with -lm on all architectures, and regardless of
whether nasm is present
2004-04-16 22:20:07 +00:00
Josh Coalson
d666ed70f7 fix seeking bug where I/O seek to "unparseable" frame header caused a seek error: SF bug #851155 2004-03-23 04:27:47 +00:00
Josh Coalson
fec4a779a0 fix bug: %ll doesn't work for MSVC, use %I64 instead 2004-03-22 05:47:25 +00:00
Josh Coalson
f45b2a85a7 minor reordering of decoder state enum to match FLAC layers 2004-03-17 22:08:15 +00:00
Josh Coalson
e436297d64 remove unused member "ogg_decoder_aspect" 2004-03-17 22:00:54 +00:00
Josh Coalson
e8d8fde79b add OggFLAC__ogg_decoder_aspect_get_unconsumed_bytes() 2004-03-17 21:20:49 +00:00
Josh Coalson
e8fa86b809 fix memory leaks and bug where STREAMINFO was not being written back 2004-03-17 21:19:09 +00:00
Josh Coalson
0433c8e687 refrain from forcing the ogg packet number; libogg overwrites it anyway with the packet counter from the stream state 2004-03-16 23:01:58 +00:00
Josh Coalson
3e2a733863 bump version info 2004-03-16 18:18:04 +00:00
Josh Coalson
dde41029ab fix --until bug #851756 2004-03-15 23:58:50 +00:00
Josh Coalson
93efc40a9d *** empty log message *** 2004-01-20 05:38:59 +00:00
Josh Coalson
4052c875b6 fix possible bug with seeking past 4Gbytes 2004-01-18 00:04:11 +00:00
Josh Coalson
f3d6429ab1 fix bug in asserts 2004-01-18 00:03:48 +00:00
Josh Coalson
9564390fb9 update copyright to 2004 2004-01-17 04:14:43 +00:00
Josh Coalson
e6d52b08ba add read callback to OggFLAC__SeekableStreamEncoder, necessary for metadata rewriting 2004-01-17 03:52:59 +00:00
Josh Coalson
8fdb96487d minor comments 2004-01-17 03:51:54 +00:00
Josh Coalson
f83709c723 remove unused stuff 2004-01-17 03:51:42 +00:00
Josh Coalson
cc085367b1 fix more typos in returned states after conversion, temporarily disable metadata callback until ogg page rewriter is finished and hooked up 2004-01-16 02:07:30 +00:00
Josh Coalson
30cd31636f revamp OggFLAC__SeekableStreamEncoder to derive from FLAC__StreamEncoder instead of FLAC__SeekableStreamEncoder 2004-01-16 00:16:45 +00:00
Josh Coalson
112ed6cd05 always flush pages for metadata writes so that each block is in its own page as much as possible 2004-01-16 00:10:37 +00:00
Josh Coalson
7994608433 various fixes related to deriving OggFLAC__SeekableStreamEncoder from FLAC__StreamEncoder instead of FLAC__SeekableStreamEncoder 2004-01-16 00:09:05 +00:00
Josh Coalson
d46cfb2970 fix some syntax bugs 2004-01-16 00:08:46 +00:00
Josh Coalson
b71b56cb4b various fixes related to deriving OggFLAC__SeekableStreamEncoder from FLAC__StreamEncoder instead of FLAC__SeekableStreamEncoder 2004-01-16 00:03:15 +00:00
Josh Coalson
173102739a minor reformatting 2004-01-12 04:13:36 +00:00
Josh Coalson
073bd9e471 revamp ogg flac file decoder; it needed to be derived from the ogg flac stream encoder instead of the flac file encoder 2003-12-31 05:38:20 +00:00
Josh Coalson
4d373f846b minor cleanup 2003-12-31 05:36:35 +00:00
Josh Coalson
47d9bbd66c fix up reporting of the current frame to the write callback; also fixes a problem with progress callbacks in the ogg flac file encoder 2003-12-31 05:35:48 +00:00
Josh Coalson
43d8f85fc5 minor comments 2003-12-31 05:33:39 +00:00
Josh Coalson
575c1711a9 fix bug in dummy tell callback 2003-12-30 03:44:12 +00:00
Josh Coalson
06c9c5327b fix bug in read callback where *bytes was not being set to 0 on end-of-stream condition 2003-12-30 03:33:43 +00:00
Josh Coalson
9b07b61fba revamp the Ogg decoding logic; much more stable now 2003-12-30 03:31:52 +00:00
Josh Coalson
0bc2c32814 minor comments 2003-12-30 03:29:58 +00:00
Josh Coalson
182e4e6f8a add #ifdef FLAC__ONE_FLAC_FRAME_PER_OGG_PAGE section to write callback wrapper 2003-12-29 21:34:39 +00:00
Josh Coalson
c82bf8a556 fix plugin to match latest api for replaygain synthesis 2003-12-18 05:21:26 +00:00
Josh Coalson
5dda2bd67b use double for scale factor instead of float 2003-12-18 05:19:34 +00:00