Commit Graph

595 Commits

Author SHA1 Message Date
Erik de Castro Lopo f25b2602dc Fix a couple of Windows 2Gig file size issues.
Patch submitted by Janne Hyvärinen <cse@sci.fi>.
2013-03-14 18:22:37 +11:00
Erik de Castro Lopo dd1fa80883 Fix -Wstrict-prototypes -Wmissing-prototypes warnings.
The files src/flac/encode.c and src/libFLAC/stream_encoder.c use
functions in libFLAC that are marked as 'unpublished debug routines'.
This patch moves these functions to new file include/share/private.h
and marks them as 'unpublished debug routines'.
2013-03-11 06:06:33 +11:00
Erik de Castro Lopo b85cc57d73 include/share/compat.h : feeko and ftello fixes for MinGW.
Patch from LRN <lrn1986@gmail.com>.
2013-03-10 18:38:07 +11:00
Erik de Castro Lopo 71d630dbba FLAC/ordinals.h : Add <stdint.h> definitions for MSVC < 2010. 2013-03-09 10:25:39 +11:00
Erik de Castro Lopo ae663c36af FLAC/ordinals.h : Provide links for <stdint.h> replacements. 2013-03-08 21:13:13 +11:00
Erik de Castro Lopo fd6b192d25 Another MSVC patch from Ben Alison. 2013-03-08 20:47:43 +11:00
Erik de Castro Lopo a4c321e492 Large patch from Ben Allison fixing the MSVC build.
Patch tweaked a little to fix Linux build and clean up minor problems.
2013-03-06 22:17:51 +11:00
Erik de Castro Lopo 91790ef965 Fix compiler warnings from new compiler flags. 2013-03-06 07:42:08 +11:00
Erik de Castro Lopo b104c6d8af include/share/compat.h : For MSVC define inline as __inline. 2013-01-26 10:11:39 +11:00
Max Horn 66c0a581d2 autogen.sh: replace this by a simple call to autoreconf
The autoreconf tool is provided by autoconf to do what custom
autogen.sh scripts in many projects used to do. Only it is more
robust and widely tested. It has been available for several years,
too. No reason to rely on custom code for this.

Signed-off-by: Max Horn <max@quendi.de>
2012-12-13 08:12:14 +11:00
Miroslav Lichvar 6a1f59b58f Update FSF address. 2012-12-06 06:17:26 +11:00
Miroslav Lichvar a43f56c0b2 Update library version-info. 2012-12-04 17:45:51 +11:00
Miroslav Lichvar 19c78e58d7 Hide symbols with gcc.
With gcc >= 4 and ELF, set default visibility to hidden and make visible
only the symbols with FLAC_API or FLACPP_API.

A convenience libFLAC-static.la is created for test_libFLAC as it
depends on the hidden symbols.
2012-12-04 17:45:06 +11:00
Erik de Castro Lopo b21f190861 Add a convenience function to create a Metadata::Padding object with a
certain size in one statement.

Patch from Bastiaan Timmer <basjetimmer@yahoo.com>
2012-09-11 15:52:24 +10:00
Erik de Castro Lopo a7e3705d05 Move code inside #ifdef _MSC_VER to compat.h. 2012-06-22 16:03:04 +10:00
Erik de Castro Lopo 5b62b770bc Move all definitions of FLAC__U64L to one place. 2012-06-22 14:52:53 +10:00
Bastiaan Timmer 1294b64996 Adds last functions from C metadata api to C++ metadata api
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2012-06-22 14:35:07 +10:00
Erik de Castro Lopo 8749dc278d Fix building when configured with --disable-shared.
The problem was that the function safe_malloc_mul_2op_() was originally
defined as static inline in inclide/share/alloc.h but had to be moved
because GCC was refusing to inline it. Once moved however, static linking
would fail when building the flac executable because the function ended
up beiong linked twice.
2012-06-22 14:23:56 +10:00
Bastiaan Timmer 04ca6fd9e1 Quick patch to fix FLAC_metadata_object api docs.
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2012-06-08 19:58:41 +10:00
Erik de Castro Lopo 601e96102c Add missing functions to VorbisComment class.
Patch from Bastiaan Timmer <basjetimmer@yahoo.com> sent to the
<flac-dev@xiph.org> mailing list.
2012-05-08 19:12:58 +10:00
Erik de Castro Lopo d9fde55674 Fix all links to libtool version info rules. 2012-05-07 19:45:23 +10:00
Erik de Castro Lopo cd9053cd31 Add functionality present in the C library to the to C++ SeekTable class.
Patch from Bastiaan Timmer <basjetimmer@yahoo.com> sent to the
<flac-dev@xiph.org> mailing list.
2012-05-07 19:22:37 +10:00
Cristian Rodríguez c2417da842 replace local_strtoull with _strtoui64 in windows
Previous patch replaced the other local_strtoll with _strtoi64
2012-04-18 22:00:59 +10:00
Cristian Rodríguez 7e62afe9fa Remove local_strtoull, windows has equivalent function _strtoui64 2012-04-18 21:59:11 +10:00
Cristian Rodríguez 9b7cb22f84 Update and improve autotools build
- INCLUDES is deprecated, and CPPFLAGS is an user-defined
  variable, use the proper AM_CPPFLAGS instead

- Remove FLAC__INLINE definition, providing proper
  replacement for MSVC compilers.

- Detect if we have C99 's lround and provide a replacement
  for windows...
2012-04-08 09:03:03 +10:00
Erik de Castro Lopo 2f8b6a0349 Rename ENDSWAP_INT to ENDSWAP_32. 2012-03-05 21:12:20 +11:00
Erik de Castro Lopo b48909780b Fix a couple 'inlining failed' warning messages. 2012-02-26 20:00:36 +11:00
Earl Chew 0554a4aee6 Support 56kHz to 19.2kHz gain analysis (Patch v4)
This implementation uses decimation to generate an estimate of the
required ReplayGain adjustment for tracks sampled at high rates.

This approach avoids having to generate filters with commensurately more taps,
and also the subsequent effect on performance as these additional
taps are evaluated for high sample rate tracks.

Filter table entries with coefficients that are unchanged are
marked /* ORIGINAL */.

The remaining entries are new and have coefficient values obtained
from src/utils/loudness/loudness.sci. See:

        http://lists.xiph.org/pipermail/flac-dev/2012-February/003220.html

Because these filter coefficients can be generated from a known source,
they are preferred to the FooBar2000 coefficients whose provenance is
unknown.

Signed-off-by: Earl Chew <earl_chew@yahoo.com>
2012-02-26 12:19:56 +11:00
Erik de Castro Lopo 3789c44e14 Remove '#if 0'-ed out code. 2012-02-17 18:00:10 +11:00
Erik de Castro Lopo 587e118bfc Fix a bunch of -Wtype-limits warnings. 2012-02-17 17:52:12 +11:00
Erik de Castro Lopo c506b2f43e include/FLAC/ordinals.h : Remove CPP hackery.
This change assumes that a C99 <stdint.h> header is available. For
compilers where that is not the case, the user should provide a
minimal replacement header.
2012-02-10 19:19:11 +11:00
Erik de Castro Lopo d7bfc779c8 Add XIPH_BSWAP32 configure macro to detect __builtin_bswap32() intrinsic. 2012-02-06 07:15:48 +11:00
Erik de Castro Lopo a5d1d4f0c5 Improve endswapping (especially purge ntohl). 2012-02-05 11:24:14 +11:00
Erik de Castro Lopo 6184fd7452 include/share/Makefile.am : Add compat.h to EXTRA_DIST. 2012-02-05 09:21:29 +11:00
Erik de Castro Lopo 59afe36f71 Add file include/share/compat.h and start moving CPP hackery into it. 2012-02-04 16:13:37 +11:00
Erik de Castro Lopo 6b3b137099 Fix a couple of -Winline warnings. 2012-02-01 19:49:54 +11:00
Josh Coalson c2593cc1bd license must be BSD since it is used by libFLAC 2009-10-05 18:45:10 +00:00
Josh Coalson dea0f5a044 add 2009 copyright 2009-01-07 07:31:28 +00:00
Josh Coalson c9ed238c3d Allow MM:SS:FF and MM:SS.SS time formats in non-CD-DA cuesheets (SF#1947353, SF#2182432: https://sourceforge.net/tracker2/?func=detail&aid=1947353&group_id=13478&atid=363478 https://sourceforge.net/tracker2/index.php?func=detail&aid=2182432&group_id=13478&atid=113478) 2009-01-07 07:03:17 +00:00
Josh Coalson 0915a551eb Fixes for Sun Studio/Forte; us AC_C_INLINE to detect inline keyword for compiler; eliminate floating point calcs in RG analysis array size calculations (SF#1701960: https://sourceforge.net/tracker2/?func=detail&aid=1701960&group_id=13478&atid=313478) 2009-01-03 02:13:17 +00:00
Josh Coalson 8e28e43b25 remove some inlining directives 2009-01-03 02:10:18 +00:00
Josh Coalson 290c3f7a14 better check for stdint.h 2008-11-29 21:01:20 +00:00
Josh Coalson 1be89c498d add FLAC__format_blocksize_is_subset() 2008-05-27 05:19:52 +00:00
Josh Coalson 82b128050e update copyright for 2008 2008-02-28 05:34:21 +00:00
Josh Coalson 841fdd30a6 bump libtool version numbers 2007-09-15 01:08:15 +00:00
Josh Coalson 504dcafeb4 minor comments 2007-09-13 15:42:47 +00:00
Josh Coalson 9f28b59ce1 minor comments 2007-09-13 00:37:50 +00:00
Josh Coalson 8679516bc5 add link to new example code page 2007-09-13 00:36:43 +00:00
Josh Coalson 8c4ac1dcb7 msvc fixes 2007-09-12 05:28:48 +00:00
Josh Coalson 4d20d894dd inline all safe alloc funcs 2007-09-12 01:04:24 +00:00
Josh Coalson 7fb67ac1e4 add not about OPT: sections 2007-09-12 01:03:57 +00:00
Josh Coalson 0221d87c89 handle SIZE_T_MAX 2007-09-11 04:46:34 +00:00
Josh Coalson 582e675d67 remove unnecessary #includes 2007-09-11 00:26:07 +00:00
Josh Coalson 223b9cae7d add alloc.h 2007-09-10 05:58:43 +00:00
Josh Coalson 17af340739 fix #include for off_t (SF#1786225: https://sourceforge.net/tracker/index.php?func=detail&aid=1786225&group_id=13478&atid=313478) 2007-09-08 22:49:07 +00:00
Josh Coalson 367c1587f5 add --disable-cpplibs configure option (SF#1723295: https://sourceforge.net/tracker/index.php?func=detail&aid=1723295&group_id=13478&atid=313478 2007-08-29 05:45:19 +00:00
Josh Coalson a8bd44b80e #include for off_t, minor comments 2007-08-21 08:07:29 +00:00
Josh Coalson 4e56b06d63 add FLAC__metadata_simple_iterator_get_application_id() 2007-08-15 05:59:09 +00:00
Josh Coalson 09ccf20ae6 add FLAC__metadata_simple_iterator_get_block_offset(), FLAC__metadata_simple_iterator_get_block_length(), FLAC__metadata_simple_iterator_is_last() 2007-08-14 00:34:50 +00:00
Josh Coalson c90a5cad24 bump libtool number in prep for release 2007-07-10 02:09:38 +00:00
Josh Coalson 1296cb8f19 add porting guide item for 1.1.4->1.2.0 2007-07-07 07:02:11 +00:00
Josh Coalson b47ab0d250 merge decoder part from RICE_EXT_BRANCH: blocking strategy bit, new rice2 ecm, frame header support for 88.2/176.4/192kHz, new reserved bit, deprecated blocksize-from-streaminfo bit 2007-06-16 00:50:28 +00:00
Josh Coalson 62cb525f3a *** empty log message *** 2007-06-14 06:17:57 +00:00
Josh Coalson a4f93918cd add FLAC::Decoder::Stream::get_decode_position() 2007-04-05 00:49:41 +00:00
Josh Coalson 2258fa8ec9 add FLAC__format_sample_rate_is_subset() 2007-03-30 01:02:40 +00:00
Josh Coalson d67319f240 add porting item for 1.1.4 2007-02-14 05:59:47 +00:00
Josh Coalson 4296e1a40a bump libtool .so revision number 2007-02-14 05:59:09 +00:00
Josh Coalson 147dbe2baa fix minor leaks 2007-02-13 02:05:19 +00:00
Josh Coalson d83553dd2b change the min/max rice partition order for compression levels -0 .. -6 2007-02-06 04:48:26 +00:00
Josh Coalson e74bd9516c add 2007 copyright 2007-02-02 06:58:19 +00:00
Josh Coalson e3ec2ad59e convert C prototypes for functions with no args from () to (void) 2007-01-31 03:53:22 +00:00
Josh Coalson 1c03407931 in FLAC__stream_encoder_set_metadata(), copy the metadata array of pointers instead of requiring the caller to keep it until initialization; the objects themselves are still owned by caller 2007-01-29 08:27:25 +00:00
Josh Coalson cd80d1447c add docs on sample format for process calls (SF#1627966: http://sourceforge.net/tracker/index.php?func=detail&aid=1627966&group_id=13478&atid=213478) 2007-01-05 01:08:55 +00:00
Josh Coalson 2beca73003 patch: support for borland c++ compile (SF#1599018: http://sourceforge.net/tracker/index.php?func=detail&aid=1599018&group_id=13478&atid=313478) 2006-11-21 01:51:58 +00:00
Josh Coalson 7581d121c1 patch: support for borland c++ compile (SF#1599018: http://sourceforge.net/tracker/index.php?func=detail&aid=1599018&group_id=13478&atid=313478) 2006-11-20 07:19:15 +00:00
Josh Coalson f37520b91f final merge down from 1.1.2 maintenance branch (cvs up -j FLAC_RELEASE_1_1_2_MAINTENANCE_BASELINE -j FLAC_RELEASE_1_1_2_MAINTENANCE_BRANCH) 2006-11-20 06:46:07 +00:00
Josh Coalson 2378fb1888 minor comments 2006-11-20 05:30:25 +00:00
Josh Coalson a7dceb9ac1 multifix: change FLAC__stream_encoder_finish() to also return false if there is an error processing the last frame or updating metadata 2006-11-16 01:35:13 +00:00
Josh Coalson 33bba6d34d minor comments 2006-11-15 06:17:14 +00:00
Josh Coalson 7d273b4bdb add support for read-only operations for ogg flac to chain interface 2006-11-15 06:12:30 +00:00
Josh Coalson e3f00bc592 minor comments 2006-11-10 05:15:02 +00:00
Josh Coalson a586226fda add a boolean return value to FLAC__stream_encoder_finish() that signals a verify mismatch 2006-11-09 06:58:26 +00:00
Josh Coalson 38bf3e6ca9 fix FLAC::Decoder::Stream::finish() to return a bool like its C cousin 2006-11-09 06:55:21 +00:00
Josh Coalson 99abf3e70a add code examples for some of the callbacks to the docs 2006-11-04 03:51:01 +00:00
Josh Coalson 2dd9d916f6 minor comments 2006-11-04 03:03:02 +00:00
Josh Coalson 425609cb0c add FLAC__stream_encoder_set_compression_level() 2006-11-03 16:08:52 +00:00
Josh Coalson 7464fec9fe minor comments 2006-11-03 15:50:19 +00:00
Josh Coalson 7afb1553c7 fix grabbag__file_are_same() on win32 by using GetFileInformationByHandle() to compare 2006-11-02 01:39:54 +00:00
Josh Coalson 6986469917 minor comments 2006-11-02 01:39:14 +00:00
Josh Coalson 0b9442c3b6 remove now-obsolete libOggFLAC stuff 2006-10-16 16:18:34 +00:00
Josh Coalson 32637e0efd fixes for MSVC6 2006-10-16 15:49:17 +00:00
Josh Coalson 352feb540f change "bytes" parameter of all encoder write callbacks from "unsigned" to "size_t" 2006-10-15 17:08:52 +00:00
Josh Coalson 8065a2d3a5 change "bytes" parameter of all read callbacks from "unsigned" to "size_t" 2006-10-15 08:32:56 +00:00
Josh Coalson 3c91754e74 improve comments 2006-10-15 07:50:44 +00:00
Josh Coalson 71d5c256f5 rename set_serial_number to set_ogg_serial_number everywhere 2006-10-15 06:04:55 +00:00
Josh Coalson 8da98c897b merge libOggFLAC into libFLAC and libOggFLAC++ into FLAC++; documentation still needs work 2006-10-15 04:24:05 +00:00
Josh Coalson 05c9b4031a remove obsolete code 2006-10-14 04:56:48 +00:00
Josh Coalson 4e4845592d fix placement of FLAC_API_VERSION_... #defines 2006-10-14 04:54:07 +00:00
Josh Coalson 1568b1f785 in grabbag__file_are_same() check that st_dev is same also 2006-10-13 04:27:06 +00:00
Josh Coalson f491994a54 minor comments 2006-10-13 04:26:45 +00:00
Josh Coalson 044be30e2a fix "extern"ness of ReplayGainReferenceLoudness 2006-10-12 01:16:49 +00:00
Josh Coalson 42228b33e2 bump libtool .so number in prep for release 2006-10-10 03:44:54 +00:00
Josh Coalson 1d691ca149 add grabbag__file_are_same() 2006-10-10 00:38:28 +00:00
Josh Coalson d0edb97a46 limit subset further if sample rate is <=48kHz: max blocksize is 4608 and max LPC order is 12 2006-10-07 06:50:08 +00:00
Josh Coalson 20ad84aa61 more doxygen comments 2006-10-07 05:43:01 +00:00
Josh Coalson 1dfcea1340 multichannel assignments in format and documentation 2006-10-06 05:51:59 +00:00
Josh Coalson beb128489b minor comments 2006-10-03 01:04:41 +00:00
Josh Coalson 2e29c93ac3 remove ancient deprecated things 2006-09-26 01:25:52 +00:00
Josh Coalson 022572d83b add verbiage about libtool version number #defines 2006-09-26 01:15:55 +00:00
Josh Coalson 833f832ab1 change from one ..._API_NUMBER to 3 libtool numbers ..._API_VERSION_{CURRENT,REVISION,AGE} 2006-09-26 01:02:55 +00:00
Josh Coalson 6e94c90e60 add parsing of picture type from spec; add check that type 1 picture is 32x32 PNG 2006-09-24 16:17:53 +00:00
Josh Coalson 5f427b3fd3 new tester for testing PICTURE specification parsing 2006-09-24 07:19:55 +00:00
Josh Coalson 3fae7d4cd6 add picture.h 2006-09-24 07:17:11 +00:00
Josh Coalson 74ed294764 add number-of-colors field to PICTURE metadata block 2006-09-23 23:15:05 +00:00
Josh Coalson e343ab2b87 add support for new PICTURE metadata block 2006-09-23 19:21:19 +00:00
Josh Coalson aa1edebacd add #define FLAC_API_NUMBER 2006-09-23 19:12:26 +00:00
Josh Coalson d62eed4fa3 minor comments 2006-09-16 00:46:22 +00:00
Josh Coalson 1d43e10f83 minor comments 2006-09-16 00:38:53 +00:00
Josh Coalson 7f1b642611 minor comments 2006-09-16 00:38:14 +00:00
Josh Coalson c0da196166 minor comments 2006-09-16 00:07:20 +00:00
Josh Coalson 68acb04a4d change libOggFLAC++ API to make OggFLAC::Decoder::Stream and OggFLAC::Encoder::Stream inherit from their FLAC counterparts 2006-09-15 15:40:57 +00:00
Josh Coalson edf672ed84 minor wording 2006-09-15 15:39:10 +00:00
Josh Coalson b292e75ebf add support for new REPLAYGAIN_REFERENCE_LOUDNESS tag 2006-09-14 00:40:03 +00:00
Josh Coalson dcf04428fe add ReplayGainReferenceLoudness constant 2006-09-14 00:39:32 +00:00
Josh Coalson 6b21f66784 merge down from merged-API-layer branch: cvs -q up -dP -j API_LAYER_MERGING_BASELINE -j API_LAYER_MERGING_BRANCH 2006-09-13 01:42:27 +00:00
Josh Coalson ba26e4e59e comments 2006-07-06 07:49:36 +00:00
Josh Coalson 1a8afc7031 change unparseable frame handling, from a fatal error and FLAC__STREAM_DECODER_UNPARSEABLE_STREAM state, to a soft error FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM 2006-07-06 07:49:07 +00:00
Josh Coalson b1ec796bda complete largefile support 2006-05-24 04:41:36 +00:00
Josh Coalson 419e4ba7b6 remove window profiling field 2006-05-01 06:01:34 +00:00
Josh Coalson 8238936980 default window to tukey(0.5) instead of hann 2006-05-01 05:58:35 +00:00
Josh Coalson c4fe269a90 add set_apodization() to oggflac layers 2006-05-01 05:27:13 +00:00
Josh Coalson 96d8cd2390 fix comment typos 2006-04-25 07:00:39 +00:00
Josh Coalson 0395dac13f add 2206 to copyright notice 2006-04-25 06:59:33 +00:00
Josh Coalson bf0f52c21e add support for specifying which apodization functions to use to window data before lpc analysis 2006-04-25 06:38:43 +00:00
Josh Coalson 7cfac0b146 add FLAC__metadata_get_cuesheet() and FLAC__metadata_object_cuesheet_calculate_cddb_id() 2006-04-10 05:37:34 +00:00
Josh Coalson 09db6d84a7 minor comments 2005-12-02 05:31:11 +00:00
Josh Coalson e9a638d004 add support for building on os/2 with emx 2005-09-03 03:54:16 +00:00
Josh Coalson 95e39a8fa5 allow non-strict mode for reading replaygain tags, to fallback to track tags if album tags are not available and vice versa 2005-09-01 01:01:08 +00:00
Josh Coalson 83fa59c800 more external use of "FLAC tags" instead of "Vorbis comments" to avoid confusion 2005-08-31 01:00:53 +00:00
Josh Coalson 83b8d28f9d add shorthand option --remove-replay-gain to metaflac 2005-08-31 00:30:41 +00:00
Josh Coalson 4462311644 fix constness in some functions 2005-01-30 18:15:36 +00:00
Josh Coalson f4c1a8e8ef fixes for compiling with SunPro 2005-01-27 03:55:35 +00:00
Josh Coalson 7ba64127f4 merge from FLAC 1.1.1 maintenance branch (-j FLAC_RELEASE_1_1_1__2004_10_01 -j FLAC_RELEASE_1_1_1_MAINTENANCE_BRANCH (AKA FLAC_RELEASE_1_1_1_MAINTENANCE__MERGE_TO_TRUNK)) 2005-01-25 05:03:48 +00:00
Josh Coalson a78fac662c add 2005 to copyright notices 2005-01-25 04:17:55 +00:00
Josh Coalson c71bfe953c remove superfluous semicolon after namespace closures 2005-01-25 02:27:20 +00:00
Josh Coalson 42372b9aed libFLAC++: all metadata object operator=() funcs now return *this; add Metadata::*::assign() and FLAC::Metadata::get_tags() 2005-01-07 01:09:07 +00:00
Josh Coalson 2c75bd8b80 minor comments 2004-12-30 03:55:00 +00:00
Josh Coalson 2de1124e36 add vorbiscomment validation functions to format.c and test code; validate name part of vorbiscomment in metadata and metadata++ interfaces 2004-12-30 03:41:19 +00:00
Josh Coalson 81b3cae6d5 revamp plugin_common to use utf-8 instead of wchar_t as the internal comment format 2004-12-30 01:09:53 +00:00
Josh Coalson def597ee59 additions to metadata object api: more vorbiscomment functions, trailing-null on vorbis comment field values enforced everywhere 2004-12-30 00:59:30 +00:00
Josh Coalson 0975843bed first pass at making an integer-only flavor of the libraries. move FLAC__real out of ordinals.h to src/libFLAC/include/private/float.h, add FLAC__double and FLAC__float and use these everywhere instead of double and float, and don't typedef FLAC__real/float/double when building in integer-only mode. still need to provide integer substitutes in several places. 2004-10-20 00:21:50 +00:00
Josh Coalson 42d57fa648 fix minor comment typos 2004-09-25 23:45:55 +00:00
Josh Coalson ffc4c636fb add links to the license page in doxygen docs 2004-09-14 03:36:26 +00:00
Josh Coalson 346e0d8b8c add comment braces for doxygen 2004-09-14 03:35:58 +00:00
Josh Coalson 69cfda7a20 add new requirements to ogg mapping: vorbis comment block must come second after streaminfo; first packet must have a packet type byte of 0x7f; packet 0 version must be followed by a 2-byte count of the # of header packets 2004-09-10 00:38:21 +00:00
Josh Coalson c408de02be fix bug copying a null vorbis comment entry 2004-09-08 00:55:42 +00:00
Josh Coalson 9c551a9398 remove check for config.h and assume everyone has inttypes.h (C99); special workaround for MSVC still exists 2004-09-02 04:45:03 +00:00
Josh Coalson 27426b697f remove unneeded check for config.h 2004-09-02 04:42:49 +00:00
Josh Coalson 23008d7aac fix typo in comments 2004-07-31 22:10:19 +00:00
Josh Coalson 1aca6b114b add FLAC__metadata_get_tags(), FLAC::Metadata::get_tags() 2004-07-30 01:54:29 +00:00
Josh Coalson 73e51b822a more acceptable hack to the workaround of nested classes not being able to see protected members in the parent with some compilers 2004-07-30 00:02:33 +00:00
Josh Coalson bd1e5ffd1f add explanation of new read callback 2004-07-30 00:01:45 +00:00
Josh Coalson 04890961a9 add callback.h to header list 2004-07-29 05:24:35 +00:00
Josh Coalson 26b69845eb extend hack of making decoder_ pointer public to gcc < 2.96 2004-07-27 00:22:51 +00:00
Josh Coalson 8eb486a53e update license verbiage 2004-07-23 05:12:30 +00:00
Josh Coalson 3cb83414a9 add pragma to disable annoying MSVC warning C4800 2004-07-23 05:11:06 +00:00
Josh Coalson e44501d557 remove the __LIBNAME__ definitions 2004-07-23 05:09:04 +00:00
Josh Coalson 1cb2341298 max the largest metadata type code be 126, reserving 127 to avoid confusion with a frame sync code 2004-07-22 01:32:00 +00:00
Josh Coalson 091d84f25c add FLAC::Encoder::*::set_metadata(FLAC::Metadata::Prototype **metadata, unsigned num_blocks) 2004-07-22 01:04:22 +00:00
Josh Coalson d113ca3d2f add an accessor method for the underlying ::FLAC__StreamMetadata object 2004-07-22 01:03:43 +00:00
Josh Coalson 47f51b1c22 add method for skipping an audio frame, plus tests 2004-07-16 00:53:38 +00:00
Josh Coalson cd5b1a638c minor comment fixes 2004-07-16 00:16:08 +00:00
Josh Coalson d5c593b09a add documentation for new callback-based functions 2004-07-16 00:15:12 +00:00
Josh Coalson deab462735 add libFLAC++ equivalent callback-based chain reading/writing and tests 2004-07-15 16:22:43 +00:00
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 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 eaf8fbd8b7 add an EOF callback to the mix 2004-07-11 06:32:09 +00:00
Josh Coalson 91748beb86 add FLAC__metadata_chain_read_with_callbacks() 2004-07-10 22:28:03 +00:00
Josh Coalson d8934e2134 add callback.h 2004-07-10 00:37:02 +00:00
Josh Coalson 85d7b9f01c minor comments 2004-07-07 19:45:48 +00:00
Josh Coalson f37a397cf1 get rid of obsolete *_get_decode_position() methods 2004-07-07 07:43:18 +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 f45b2a85a7 minor reordering of decoder state enum to match FLAC layers 2004-03-17 22:08:15 +00:00
Josh Coalson 287ba3ac64 fix doc typos 2004-03-16 18:01:26 +00:00
Josh Coalson 8a5b74068a *** empty log message *** 2004-01-30 07:34:17 +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 30cd31636f revamp OggFLAC__SeekableStreamEncoder to derive from FLAC__StreamEncoder instead of FLAC__SeekableStreamEncoder 2004-01-16 00:16:45 +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 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 0bc2c32814 minor comments 2003-12-30 03:29:58 +00:00
Josh Coalson 37a4d2a495 workaround MSVC bug re: scoping of nested classes 2003-12-18 20:06:52 +00:00
Josh Coalson 2ea9693ca3 fix __LIBNAME__ definition 2003-12-18 05:20:43 +00:00
Josh Coalson 5dda2bd67b use double for scale factor instead of float 2003-12-18 05:19:34 +00:00
Josh Coalson 9c650a561a add undocumented option --apply-replaygain-which-is-not-lossless to flac; required a lot of reorganization; gain_analysis lib renamed to replaygain_analyis; replaygain_synthesis moved out of plugin_common into its own library in share/ 2003-12-17 04:51:06 +00:00
Josh Coalson 45df151527 better end-of-file/stream checking 2003-11-13 23:34:28 +00:00
Josh Coalson 3c2bdf8746 add ogg seekable stream and file encoder and decoder interfaces 2003-09-26 01:56:01 +00:00
Josh Coalson 4e96cdbb7b minor syntax 2003-09-26 01:46:21 +00:00
Josh Coalson 069a58bbe0 minor formatting 2003-09-26 01:45:42 +00:00
Josh Coalson 071e13ac51 minor comments 2003-09-26 01:45:21 +00:00