mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-22 03:51:33 +00:00
update flac to 1.4.0
This commit is contained in:
parent
0be800b3da
commit
9931b88dbf
15 changed files with 225 additions and 68 deletions
81
deps/flac/include/FLAC/all.h
vendored
81
deps/flac/include/FLAC/all.h
vendored
|
@ -1,6 +1,6 @@
|
||||||
/* libFLAC - Free Lossless Audio Codec library
|
/* libFLAC - Free Lossless Audio Codec library
|
||||||
* Copyright (C) 2000-2009 Josh Coalson
|
* Copyright (C) 2000-2009 Josh Coalson
|
||||||
* Copyright (C) 2011-2016 Xiph.Org Foundation
|
* Copyright (C) 2011-2022 Xiph.Org Foundation
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -357,6 +357,85 @@
|
||||||
* \c FLAC__FRAME_HEADER_BLOCKING_STRATEGY_LEN
|
* \c FLAC__FRAME_HEADER_BLOCKING_STRATEGY_LEN
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/** \defgroup porting_1_3_4_to_1_4_0 Porting from FLAC 1.3.4 to 1.4.0
|
||||||
|
* \ingroup porting
|
||||||
|
*
|
||||||
|
* \brief
|
||||||
|
* This module describes porting from FLAC 1.3.4 to FLAC 1.4.0.
|
||||||
|
*
|
||||||
|
* \section porting_1_3_4_to_1_4_0_summary Summary
|
||||||
|
*
|
||||||
|
* Between FLAC 1.3.4 and FLAC 1.4.0, there have four breaking changes
|
||||||
|
* - the function get_client_data_from_decoder has been renamed to
|
||||||
|
* FLAC__get_decoder_client_data
|
||||||
|
* - some data types in the FLAC__Frame struct have changed
|
||||||
|
* - all functions resizing metadata blocks now return the object
|
||||||
|
* untouched if memory allocation fails, whereas previously the
|
||||||
|
* handling varied and was more or less undefined
|
||||||
|
* - all functions accepting a filename now take UTF-8 encoded filenames
|
||||||
|
* on Windows instead of filenames in the current codepage
|
||||||
|
*
|
||||||
|
* Furthermore, there have been the following additions
|
||||||
|
* - the functions FLAC__stream_encoder_set_limit_min_bitrate,
|
||||||
|
* FLAC__stream_encoder_get_limit_min_bitrate,
|
||||||
|
* FLAC::encoder::file::set_limit_min_bitrate() and
|
||||||
|
* FLAC::encoder::file::get_limit_min_bitrate() have been added
|
||||||
|
* - Added FLAC__STREAM_DECODER_ERROR_STATUS_BAD_METADATA to the
|
||||||
|
* FLAC__StreamDecoderErrorStatus enum
|
||||||
|
*
|
||||||
|
* \section porting_1_3_4_to_1_4_0_breaking Breaking changes
|
||||||
|
*
|
||||||
|
* The function \b get_client_data_from_decoder was added in FLAC 1.3.3
|
||||||
|
* but did not follow the API naming convention and was not properly
|
||||||
|
* exported. The function is now renamed and properly integrated as
|
||||||
|
* FLAC__stream_decoder_get_client_data
|
||||||
|
*
|
||||||
|
* To accomodate encoding and decoding 32-bit int PCM, some data types
|
||||||
|
* in the \b FLAC__frame struct were changed. Specifically, warmup
|
||||||
|
* in both the FLAC__Subframe_Fixed struc and the FLAC__Subframe_LPC
|
||||||
|
* struct is changed from FLAC__int32 to FLAC__int64. Also, value
|
||||||
|
* in the FLAC__Subframe_Constant is changed from FLAC__int32 to
|
||||||
|
* FLAC__int64. Finally, in FLAC__Subframe_Verbatim struct data is
|
||||||
|
* changes from a FLAC__int32 array to a union containing a FLAC__int32
|
||||||
|
* array and a FLAC__int64 array. Also, a new member is added,
|
||||||
|
* data_type, which clarifies whether the FLAC__int32 or FLAC__int64
|
||||||
|
* array is in use.
|
||||||
|
*
|
||||||
|
* Furthermore, the following functions now return the object untouched
|
||||||
|
* if memory allocation fails, whereas previously the handling varied
|
||||||
|
* and was more or less undefined
|
||||||
|
*
|
||||||
|
* - FLAC__metadata_object_seektable_resize_points
|
||||||
|
* - FLAC__metadata_object_vorbiscomment_resize_comments
|
||||||
|
* - FLAC__metadata_object_cuesheet_track_resize_indices
|
||||||
|
* - FLAC__metadata_object_cuesheet_resize_tracks
|
||||||
|
*
|
||||||
|
* The last breaking change is that all API functions taking a filename
|
||||||
|
* as an argument now, on Windows, must be supplied with that filename
|
||||||
|
* in the UTF-8 character encoding instead of using the current code
|
||||||
|
* page. libFLAC internally translates these UTF-8 encoded filenames to
|
||||||
|
* an appropriate representation to use with _wfopen. On all other
|
||||||
|
* systems, filename is passed to fopen without any translation, as it
|
||||||
|
* in libFLAC 1.3.4 and earlier.
|
||||||
|
*
|
||||||
|
* \section porting_1_3_4_to_1_4_0_additions Additions
|
||||||
|
*
|
||||||
|
* To aid in creating properly streamable FLAC files, a set of functions
|
||||||
|
* was added to make it possible to enfore a minimum bitrate to files
|
||||||
|
* created through libFLAC's stream_encoder.h interface. With this
|
||||||
|
* function enabled the resulting FLAC files have a minimum bitrate of
|
||||||
|
* 1bit/sample independent of the number of channels, i.e. 48kbit/s for
|
||||||
|
* 48kHz. This can be beneficial for streaming, as very low bitrates for
|
||||||
|
* silent sections compressed with 'constant' subframes can result in a
|
||||||
|
* bitrate of 1kbit/s, creating problems with clients that aren't aware
|
||||||
|
* of this possibility and buffer too much data.
|
||||||
|
*
|
||||||
|
* Finally, FLAC__STREAM_DECODER_ERROR_STATUS_BAD_METADATA was added to
|
||||||
|
* the FLAC__StreamDecoderErrorStatus enum to signal that the decoder
|
||||||
|
* encountered unreadable metadata.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
/** \defgroup flac FLAC C API
|
/** \defgroup flac FLAC C API
|
||||||
*
|
*
|
||||||
* The FLAC C API is the interface to libFLAC, a set of structures
|
* The FLAC C API is the interface to libFLAC, a set of structures
|
||||||
|
|
2
deps/flac/include/FLAC/assert.h
vendored
2
deps/flac/include/FLAC/assert.h
vendored
|
@ -1,6 +1,6 @@
|
||||||
/* libFLAC - Free Lossless Audio Codec library
|
/* libFLAC - Free Lossless Audio Codec library
|
||||||
* Copyright (C) 2001-2009 Josh Coalson
|
* Copyright (C) 2001-2009 Josh Coalson
|
||||||
* Copyright (C) 2011-2016 Xiph.Org Foundation
|
* Copyright (C) 2011-2022 Xiph.Org Foundation
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
|
2
deps/flac/include/FLAC/callback.h
vendored
2
deps/flac/include/FLAC/callback.h
vendored
|
@ -1,6 +1,6 @@
|
||||||
/* libFLAC - Free Lossless Audio Codec library
|
/* libFLAC - Free Lossless Audio Codec library
|
||||||
* Copyright (C) 2004-2009 Josh Coalson
|
* Copyright (C) 2004-2009 Josh Coalson
|
||||||
* Copyright (C) 2011-2016 Xiph.Org Foundation
|
* Copyright (C) 2011-2022 Xiph.Org Foundation
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
|
19
deps/flac/include/FLAC/export.h
vendored
19
deps/flac/include/FLAC/export.h
vendored
|
@ -1,6 +1,6 @@
|
||||||
/* libFLAC - Free Lossless Audio Codec library
|
/* libFLAC - Free Lossless Audio Codec library
|
||||||
* Copyright (C) 2000-2009 Josh Coalson
|
* Copyright (C) 2000-2009 Josh Coalson
|
||||||
* Copyright (C) 2011-2016 Xiph.Org Foundation
|
* Copyright (C) 2011-2022 Xiph.Org Foundation
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -56,15 +56,22 @@
|
||||||
* \{
|
* \{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(FLAC__NO_DLL)
|
/* This has grown quite complicated. FLAC__NO_DLL is used by MSVC sln
|
||||||
#define FLAC_API
|
* files and CMake, which build either static or shared. autotools can
|
||||||
|
* build static, shared or **both**. Therefore, DLL_EXPORT, which is set
|
||||||
|
* by libtool, must override FLAC__NO_DLL on building shared components
|
||||||
|
*/
|
||||||
|
#if defined(_WIN32)
|
||||||
|
|
||||||
#elif defined(_WIN32)
|
#if defined(FLAC__NO_DLL) && !(defined(DLL_EXPORT))
|
||||||
|
#define FLAC_API
|
||||||
|
#else
|
||||||
#ifdef FLAC_API_EXPORTS
|
#ifdef FLAC_API_EXPORTS
|
||||||
#define FLAC_API __declspec(dllexport)
|
#define FLAC_API __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define FLAC_API __declspec(dllimport)
|
#define FLAC_API __declspec(dllimport)
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#elif defined(FLAC__USE_VISIBILITY_ATTR)
|
#elif defined(FLAC__USE_VISIBILITY_ATTR)
|
||||||
#define FLAC_API __attribute__ ((visibility ("default")))
|
#define FLAC_API __attribute__ ((visibility ("default")))
|
||||||
|
@ -77,9 +84,9 @@
|
||||||
/** These \#defines will mirror the libtool-based library version number, see
|
/** These \#defines will mirror the libtool-based library version number, see
|
||||||
* http://www.gnu.org/software/libtool/manual/libtool.html#Libtool-versioning
|
* http://www.gnu.org/software/libtool/manual/libtool.html#Libtool-versioning
|
||||||
*/
|
*/
|
||||||
#define FLAC_API_VERSION_CURRENT 11
|
#define FLAC_API_VERSION_CURRENT 12
|
||||||
#define FLAC_API_VERSION_REVISION 0 /**< see above */
|
#define FLAC_API_VERSION_REVISION 0 /**< see above */
|
||||||
#define FLAC_API_VERSION_AGE 3 /**< see above */
|
#define FLAC_API_VERSION_AGE 0 /**< see above */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
32
deps/flac/include/FLAC/format.h
vendored
32
deps/flac/include/FLAC/format.h
vendored
|
@ -1,6 +1,6 @@
|
||||||
/* libFLAC - Free Lossless Audio Codec library
|
/* libFLAC - Free Lossless Audio Codec library
|
||||||
* Copyright (C) 2000-2009 Josh Coalson
|
* Copyright (C) 2000-2009 Josh Coalson
|
||||||
* Copyright (C) 2011-2016 Xiph.Org Foundation
|
* Copyright (C) 2011-2022 Xiph.Org Foundation
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -113,19 +113,17 @@ extern "C" {
|
||||||
|
|
||||||
/** The maximum sample resolution permitted by libFLAC.
|
/** The maximum sample resolution permitted by libFLAC.
|
||||||
*
|
*
|
||||||
* \warning
|
|
||||||
* FLAC__MAX_BITS_PER_SAMPLE is the limit of the FLAC format. However,
|
* FLAC__MAX_BITS_PER_SAMPLE is the limit of the FLAC format. However,
|
||||||
* the reference encoder/decoder is currently limited to 24 bits because
|
* the reference encoder/decoder used to be limited to 24 bits. This
|
||||||
* of prevalent 32-bit math, so make sure and use this value when
|
* value was used to signal that limit.
|
||||||
* appropriate.
|
|
||||||
*/
|
*/
|
||||||
#define FLAC__REFERENCE_CODEC_MAX_BITS_PER_SAMPLE (24u)
|
#define FLAC__REFERENCE_CODEC_MAX_BITS_PER_SAMPLE (32u)
|
||||||
|
|
||||||
/** The maximum sample rate permitted by the format. The value is
|
/** The maximum sample rate permitted by the format. The value is
|
||||||
* ((2 ^ 16) - 1) * 10; see <A HREF="../format.html">FLAC format</A>
|
* ((2 ^ 16) - 1) * 10; see <A HREF="../format.html">FLAC format</A>
|
||||||
* as to why.
|
* as to why.
|
||||||
*/
|
*/
|
||||||
#define FLAC__MAX_SAMPLE_RATE (655350u)
|
#define FLAC__MAX_SAMPLE_RATE (1048575u)
|
||||||
|
|
||||||
/** The maximum LPC order permitted by the format. */
|
/** The maximum LPC order permitted by the format. */
|
||||||
#define FLAC__MAX_LPC_ORDER (32u)
|
#define FLAC__MAX_LPC_ORDER (32u)
|
||||||
|
@ -282,14 +280,24 @@ extern FLAC_API const char * const FLAC__SubframeTypeString[];
|
||||||
/** CONSTANT subframe. (c.f. <A HREF="../format.html#subframe_constant">format specification</A>)
|
/** CONSTANT subframe. (c.f. <A HREF="../format.html#subframe_constant">format specification</A>)
|
||||||
*/
|
*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
FLAC__int32 value; /**< The constant signal value. */
|
FLAC__int64 value; /**< The constant signal value. */
|
||||||
} FLAC__Subframe_Constant;
|
} FLAC__Subframe_Constant;
|
||||||
|
|
||||||
|
/** An enumeration of the possible verbatim subframe data types. */
|
||||||
|
typedef enum {
|
||||||
|
FLAC__VERBATIM_SUBFRAME_DATA_TYPE_INT32, /**< verbatim subframe has 32-bit int */
|
||||||
|
FLAC__VERBATIM_SUBFRAME_DATA_TYPE_INT64 /**< verbatim subframe has 64-bit int */
|
||||||
|
} FLAC__VerbatimSubframeDataType;
|
||||||
|
|
||||||
|
|
||||||
/** VERBATIM subframe. (c.f. <A HREF="../format.html#subframe_verbatim">format specification</A>)
|
/** VERBATIM subframe. (c.f. <A HREF="../format.html#subframe_verbatim">format specification</A>)
|
||||||
*/
|
*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
const FLAC__int32 *data; /**< A pointer to verbatim signal. */
|
union {
|
||||||
|
const FLAC__int32 *int32; /**< A FLAC__int32 pointer to verbatim signal. */
|
||||||
|
const FLAC__int64 *int64; /**< A FLAC__int64 pointer to verbatim signal. */
|
||||||
|
} data;
|
||||||
|
FLAC__VerbatimSubframeDataType data_type;
|
||||||
} FLAC__Subframe_Verbatim;
|
} FLAC__Subframe_Verbatim;
|
||||||
|
|
||||||
|
|
||||||
|
@ -302,7 +310,7 @@ typedef struct {
|
||||||
uint32_t order;
|
uint32_t order;
|
||||||
/**< The polynomial order. */
|
/**< The polynomial order. */
|
||||||
|
|
||||||
FLAC__int32 warmup[FLAC__MAX_FIXED_ORDER];
|
FLAC__int64 warmup[FLAC__MAX_FIXED_ORDER];
|
||||||
/**< Warmup samples to prime the predictor, length == order. */
|
/**< Warmup samples to prime the predictor, length == order. */
|
||||||
|
|
||||||
const FLAC__int32 *residual;
|
const FLAC__int32 *residual;
|
||||||
|
@ -328,7 +336,7 @@ typedef struct {
|
||||||
FLAC__int32 qlp_coeff[FLAC__MAX_LPC_ORDER];
|
FLAC__int32 qlp_coeff[FLAC__MAX_LPC_ORDER];
|
||||||
/**< FIR filter coefficients. */
|
/**< FIR filter coefficients. */
|
||||||
|
|
||||||
FLAC__int32 warmup[FLAC__MAX_LPC_ORDER];
|
FLAC__int64 warmup[FLAC__MAX_LPC_ORDER];
|
||||||
/**< Warmup samples to prime the predictor, length == order. */
|
/**< Warmup samples to prime the predictor, length == order. */
|
||||||
|
|
||||||
const FLAC__int32 *residual;
|
const FLAC__int32 *residual;
|
||||||
|
@ -831,7 +839,7 @@ typedef struct {
|
||||||
|
|
||||||
/** FLAC metadata block structure. (c.f. <A HREF="../format.html#metadata_block">format specification</A>)
|
/** FLAC metadata block structure. (c.f. <A HREF="../format.html#metadata_block">format specification</A>)
|
||||||
*/
|
*/
|
||||||
typedef struct {
|
typedef struct FLAC__StreamMetadata {
|
||||||
FLAC__MetadataType type;
|
FLAC__MetadataType type;
|
||||||
/**< The type of the metadata block; used determine which member of the
|
/**< The type of the metadata block; used determine which member of the
|
||||||
* \a data union to dereference. If type >= FLAC__METADATA_TYPE_UNDEFINED
|
* \a data union to dereference. If type >= FLAC__METADATA_TYPE_UNDEFINED
|
||||||
|
|
34
deps/flac/include/FLAC/metadata.h
vendored
34
deps/flac/include/FLAC/metadata.h
vendored
|
@ -1,6 +1,6 @@
|
||||||
/* libFLAC - Free Lossless Audio Codec library
|
/* libFLAC - Free Lossless Audio Codec library
|
||||||
* Copyright (C) 2001-2009 Josh Coalson
|
* Copyright (C) 2001-2009 Josh Coalson
|
||||||
* Copyright (C) 2011-2016 Xiph.Org Foundation
|
* Copyright (C) 2011-2022 Xiph.Org Foundation
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -134,6 +134,11 @@ extern "C" {
|
||||||
* STREAMINFO, VORBIS_COMMENT, CUESHEET, and PICTURE blocks, requiring
|
* STREAMINFO, VORBIS_COMMENT, CUESHEET, and PICTURE blocks, requiring
|
||||||
* only a filename.
|
* only a filename.
|
||||||
*
|
*
|
||||||
|
* On Windows, filename must be a UTF-8 encoded filename, which libFLAC
|
||||||
|
* internally translates to an appropriate representation to use with
|
||||||
|
* _wfopen. On all other systems, filename is passed to fopen without
|
||||||
|
* any translation.
|
||||||
|
*
|
||||||
* They try to skip any ID3v2 tag at the head of the file.
|
* They try to skip any ID3v2 tag at the head of the file.
|
||||||
*
|
*
|
||||||
* \{
|
* \{
|
||||||
|
@ -387,6 +392,11 @@ FLAC_API FLAC__Metadata_SimpleIteratorStatus FLAC__metadata_simple_iterator_stat
|
||||||
/** Initialize the iterator to point to the first metadata block in the
|
/** Initialize the iterator to point to the first metadata block in the
|
||||||
* given FLAC file.
|
* given FLAC file.
|
||||||
*
|
*
|
||||||
|
* On Windows, filename must be a UTF-8 encoded filename, which libFLAC
|
||||||
|
* internally translates to an appropriate representation to use with
|
||||||
|
* _wfopen. On all other systems, filename is passed to fopen without
|
||||||
|
* any translation.
|
||||||
|
*
|
||||||
* \param iterator A pointer to an existing iterator.
|
* \param iterator A pointer to an existing iterator.
|
||||||
* \param filename The path to the FLAC file.
|
* \param filename The path to the FLAC file.
|
||||||
* \param read_only If \c true, the FLAC file will be opened
|
* \param read_only If \c true, the FLAC file will be opened
|
||||||
|
@ -819,6 +829,11 @@ FLAC_API void FLAC__metadata_chain_delete(FLAC__Metadata_Chain *chain);
|
||||||
FLAC_API FLAC__Metadata_ChainStatus FLAC__metadata_chain_status(FLAC__Metadata_Chain *chain);
|
FLAC_API FLAC__Metadata_ChainStatus FLAC__metadata_chain_status(FLAC__Metadata_Chain *chain);
|
||||||
|
|
||||||
/** Read all metadata from a FLAC file into the chain.
|
/** Read all metadata from a FLAC file into the chain.
|
||||||
|
*
|
||||||
|
* On Windows, filename must be a UTF-8 encoded filename, which libFLAC
|
||||||
|
* internally translates to an appropriate representation to use with
|
||||||
|
* _wfopen. On all other systems, filename is passed to fopen without
|
||||||
|
* any translation.
|
||||||
*
|
*
|
||||||
* \param chain A pointer to an existing chain.
|
* \param chain A pointer to an existing chain.
|
||||||
* \param filename The path to the FLAC file to read.
|
* \param filename The path to the FLAC file to read.
|
||||||
|
@ -833,6 +848,11 @@ FLAC_API FLAC__Metadata_ChainStatus FLAC__metadata_chain_status(FLAC__Metadata_C
|
||||||
FLAC_API FLAC__bool FLAC__metadata_chain_read(FLAC__Metadata_Chain *chain, const char *filename);
|
FLAC_API FLAC__bool FLAC__metadata_chain_read(FLAC__Metadata_Chain *chain, const char *filename);
|
||||||
|
|
||||||
/** Read all metadata from an Ogg FLAC file into the chain.
|
/** Read all metadata from an Ogg FLAC file into the chain.
|
||||||
|
*
|
||||||
|
* On Windows, filename must be a UTF-8 encoded filename, which libFLAC
|
||||||
|
* internally translates to an appropriate representation to use with
|
||||||
|
* _wfopen. On all other systems, filename is passed to fopen without
|
||||||
|
* any translation.
|
||||||
*
|
*
|
||||||
* \note Ogg FLAC metadata data writing is not supported yet and
|
* \note Ogg FLAC metadata data writing is not supported yet and
|
||||||
* FLAC__metadata_chain_write() will fail.
|
* FLAC__metadata_chain_write() will fail.
|
||||||
|
@ -1378,7 +1398,8 @@ FLAC_API FLAC__bool FLAC__metadata_object_application_set_data(FLAC__StreamMetad
|
||||||
/** Resize the seekpoint array.
|
/** Resize the seekpoint array.
|
||||||
*
|
*
|
||||||
* If the size shrinks, elements will truncated; if it grows, new placeholder
|
* If the size shrinks, elements will truncated; if it grows, new placeholder
|
||||||
* points will be added to the end.
|
* points will be added to the end. If this function returns false, the
|
||||||
|
* object is left untouched.
|
||||||
*
|
*
|
||||||
* \param object A pointer to an existing SEEKTABLE object.
|
* \param object A pointer to an existing SEEKTABLE object.
|
||||||
* \param new_num_points The desired length of the array; may be \c 0.
|
* \param new_num_points The desired length of the array; may be \c 0.
|
||||||
|
@ -1591,7 +1612,8 @@ FLAC_API FLAC__bool FLAC__metadata_object_vorbiscomment_set_vendor_string(FLAC__
|
||||||
/** Resize the comment array.
|
/** Resize the comment array.
|
||||||
*
|
*
|
||||||
* If the size shrinks, elements will truncated; if it grows, new empty
|
* If the size shrinks, elements will truncated; if it grows, new empty
|
||||||
* fields will be added to the end.
|
* fields will be added to the end. If this function returns false, the
|
||||||
|
* object is left untouched.
|
||||||
*
|
*
|
||||||
* \param object A pointer to an existing VORBIS_COMMENT object.
|
* \param object A pointer to an existing VORBIS_COMMENT object.
|
||||||
* \param new_num_comments The desired length of the array; may be \c 0.
|
* \param new_num_comments The desired length of the array; may be \c 0.
|
||||||
|
@ -1871,7 +1893,8 @@ FLAC_API void FLAC__metadata_object_cuesheet_track_delete(FLAC__StreamMetadata_C
|
||||||
/** Resize a track's index point array.
|
/** Resize a track's index point array.
|
||||||
*
|
*
|
||||||
* If the size shrinks, elements will truncated; if it grows, new blank
|
* If the size shrinks, elements will truncated; if it grows, new blank
|
||||||
* indices will be added to the end.
|
* indices will be added to the end. If this function returns false, the
|
||||||
|
* track object is left untouched.
|
||||||
*
|
*
|
||||||
* \param object A pointer to an existing CUESHEET object.
|
* \param object A pointer to an existing CUESHEET object.
|
||||||
* \param track_num The index of the track to modify. NOTE: this is not
|
* \param track_num The index of the track to modify. NOTE: this is not
|
||||||
|
@ -1957,7 +1980,8 @@ FLAC_API FLAC__bool FLAC__metadata_object_cuesheet_track_delete_index(FLAC__Stre
|
||||||
/** Resize the track array.
|
/** Resize the track array.
|
||||||
*
|
*
|
||||||
* If the size shrinks, elements will truncated; if it grows, new blank
|
* If the size shrinks, elements will truncated; if it grows, new blank
|
||||||
* tracks will be added to the end.
|
* tracks will be added to the end. If this function returns false, the
|
||||||
|
* object is left untouched.
|
||||||
*
|
*
|
||||||
* \param object A pointer to an existing CUESHEET object.
|
* \param object A pointer to an existing CUESHEET object.
|
||||||
* \param new_num_tracks The desired length of the array; may be \c 0.
|
* \param new_num_tracks The desired length of the array; may be \c 0.
|
||||||
|
|
2
deps/flac/include/FLAC/ordinals.h
vendored
2
deps/flac/include/FLAC/ordinals.h
vendored
|
@ -1,6 +1,6 @@
|
||||||
/* libFLAC - Free Lossless Audio Codec library
|
/* libFLAC - Free Lossless Audio Codec library
|
||||||
* Copyright (C) 2000-2009 Josh Coalson
|
* Copyright (C) 2000-2009 Josh Coalson
|
||||||
* Copyright (C) 2011-2016 Xiph.Org Foundation
|
* Copyright (C) 2011-2022 Xiph.Org Foundation
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
|
41
deps/flac/include/FLAC/stream_decoder.h
vendored
41
deps/flac/include/FLAC/stream_decoder.h
vendored
|
@ -1,6 +1,6 @@
|
||||||
/* libFLAC - Free Lossless Audio Codec library
|
/* libFLAC - Free Lossless Audio Codec library
|
||||||
* Copyright (C) 2000-2009 Josh Coalson
|
* Copyright (C) 2000-2009 Josh Coalson
|
||||||
* Copyright (C) 2011-2016 Xiph.Org Foundation
|
* Copyright (C) 2011-2022 Xiph.Org Foundation
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -422,7 +422,11 @@ extern FLAC_API const char * const FLAC__StreamDecoderWriteStatusString[];
|
||||||
* could be because the decoder encountered a valid frame made by a future
|
* could be because the decoder encountered a valid frame made by a future
|
||||||
* version of the encoder which it cannot parse, or because of a false
|
* version of the encoder which it cannot parse, or because of a false
|
||||||
* sync making it appear as though an encountered frame was generated by
|
* sync making it appear as though an encountered frame was generated by
|
||||||
* a future encoder.
|
* a future encoder. \c FLAC__STREAM_DECODER_ERROR_STATUS_BAD_METADATA is
|
||||||
|
* caused by finding data that doesn't fit a metadata block (too large
|
||||||
|
* or too small) or finding inconsistencies in the metadata, for example
|
||||||
|
* a PICTURE block with an image that exceeds the size of the metadata
|
||||||
|
* block.
|
||||||
*/
|
*/
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|
||||||
|
@ -435,9 +439,12 @@ typedef enum {
|
||||||
FLAC__STREAM_DECODER_ERROR_STATUS_FRAME_CRC_MISMATCH,
|
FLAC__STREAM_DECODER_ERROR_STATUS_FRAME_CRC_MISMATCH,
|
||||||
/**< The frame's data did not match the CRC in the footer. */
|
/**< The frame's data did not match the CRC in the footer. */
|
||||||
|
|
||||||
FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM
|
FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM,
|
||||||
/**< The decoder encountered reserved fields in use in the stream. */
|
/**< The decoder encountered reserved fields in use in the stream. */
|
||||||
|
|
||||||
|
FLAC__STREAM_DECODER_ERROR_STATUS_BAD_METADATA
|
||||||
|
/**< The decoder encountered a corrupted metadata block. */
|
||||||
|
|
||||||
} FLAC__StreamDecoderErrorStatus;
|
} FLAC__StreamDecoderErrorStatus;
|
||||||
|
|
||||||
/** Maps a FLAC__StreamDecoderErrorStatus to a C string.
|
/** Maps a FLAC__StreamDecoderErrorStatus to a C string.
|
||||||
|
@ -1006,6 +1013,16 @@ FLAC_API uint32_t FLAC__stream_decoder_get_blocksize(const FLAC__StreamDecoder *
|
||||||
*/
|
*/
|
||||||
FLAC_API FLAC__bool FLAC__stream_decoder_get_decode_position(const FLAC__StreamDecoder *decoder, FLAC__uint64 *position);
|
FLAC_API FLAC__bool FLAC__stream_decoder_get_decode_position(const FLAC__StreamDecoder *decoder, FLAC__uint64 *position);
|
||||||
|
|
||||||
|
/** Return client_data from decoder.
|
||||||
|
* The data pointed to by the pointer should not be modified.
|
||||||
|
*
|
||||||
|
* \param decoder A decoder instance.
|
||||||
|
* \retval const void *
|
||||||
|
* The callee's client data set through FLAC__stream_decoder_init_*().
|
||||||
|
* Do not modify the contents.
|
||||||
|
*/
|
||||||
|
FLAC_API const void *FLAC__stream_decoder_get_client_data(FLAC__StreamDecoder *decoder);
|
||||||
|
|
||||||
/** Initialize the decoder instance to decode native FLAC streams.
|
/** Initialize the decoder instance to decode native FLAC streams.
|
||||||
*
|
*
|
||||||
* This flavor of initialization sets up the decoder to decode from a
|
* This flavor of initialization sets up the decoder to decode from a
|
||||||
|
@ -1263,11 +1280,15 @@ FLAC_API FLAC__StreamDecoderInitStatus FLAC__stream_decoder_init_ogg_FILE(
|
||||||
/** Initialize the decoder instance to decode native FLAC files.
|
/** Initialize the decoder instance to decode native FLAC files.
|
||||||
*
|
*
|
||||||
* This flavor of initialization sets up the decoder to decode from a plain
|
* This flavor of initialization sets up the decoder to decode from a plain
|
||||||
* native FLAC file. If POSIX fopen() semantics are not sufficient, (for
|
* native FLAC file. If POSIX fopen() semantics are not sufficient, you must
|
||||||
* example, with Unicode filenames on Windows), you must use
|
* use FLAC__stream_decoder_init_FILE(), or FLAC__stream_decoder_init_stream()
|
||||||
* FLAC__stream_decoder_init_FILE(), or FLAC__stream_decoder_init_stream()
|
|
||||||
* and provide callbacks for the I/O.
|
* and provide callbacks for the I/O.
|
||||||
*
|
*
|
||||||
|
* On Windows, filename must be a UTF-8 encoded filename, which libFLAC
|
||||||
|
* internally translates to an appropriate representation to use with
|
||||||
|
* _wfopen. On all other systems, filename is passed to fopen without
|
||||||
|
* any translation.
|
||||||
|
*
|
||||||
* This function should be called after FLAC__stream_decoder_new() and
|
* This function should be called after FLAC__stream_decoder_new() and
|
||||||
* FLAC__stream_decoder_set_*() but before any of the
|
* FLAC__stream_decoder_set_*() but before any of the
|
||||||
* FLAC__stream_decoder_process_*() functions. Will set and return the
|
* FLAC__stream_decoder_process_*() functions. Will set and return the
|
||||||
|
@ -1305,11 +1326,15 @@ FLAC_API FLAC__StreamDecoderInitStatus FLAC__stream_decoder_init_file(
|
||||||
/** Initialize the decoder instance to decode Ogg FLAC files.
|
/** Initialize the decoder instance to decode Ogg FLAC files.
|
||||||
*
|
*
|
||||||
* This flavor of initialization sets up the decoder to decode from a plain
|
* This flavor of initialization sets up the decoder to decode from a plain
|
||||||
* Ogg FLAC file. If POSIX fopen() semantics are not sufficient, (for
|
* Ogg FLAC file. If POSIX fopen() semantics are not sufficient, you must use
|
||||||
* example, with Unicode filenames on Windows), you must use
|
|
||||||
* FLAC__stream_decoder_init_ogg_FILE(), or FLAC__stream_decoder_init_ogg_stream()
|
* FLAC__stream_decoder_init_ogg_FILE(), or FLAC__stream_decoder_init_ogg_stream()
|
||||||
* and provide callbacks for the I/O.
|
* and provide callbacks for the I/O.
|
||||||
*
|
*
|
||||||
|
* On Windows, filename must be a UTF-8 encoded filename, which libFLAC
|
||||||
|
* internally translates to an appropriate representation to use with
|
||||||
|
* _wfopen. On all other systems, filename is passed to fopen without
|
||||||
|
* any translation.
|
||||||
|
*
|
||||||
* This function should be called after FLAC__stream_decoder_new() and
|
* This function should be called after FLAC__stream_decoder_new() and
|
||||||
* FLAC__stream_decoder_set_*() but before any of the
|
* FLAC__stream_decoder_set_*() but before any of the
|
||||||
* FLAC__stream_decoder_process_*() functions. Will set and return the
|
* FLAC__stream_decoder_process_*() functions. Will set and return the
|
||||||
|
|
50
deps/flac/include/FLAC/stream_encoder.h
vendored
50
deps/flac/include/FLAC/stream_encoder.h
vendored
|
@ -1,6 +1,6 @@
|
||||||
/* libFLAC - Free Lossless Audio Codec library
|
/* libFLAC - Free Lossless Audio Codec library
|
||||||
* Copyright (C) 2000-2009 Josh Coalson
|
* Copyright (C) 2000-2009 Josh Coalson
|
||||||
* Copyright (C) 2011-2016 Xiph.Org Foundation
|
* Copyright (C) 2011-2022 Xiph.Org Foundation
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -991,10 +991,6 @@ FLAC_API FLAC__bool FLAC__stream_encoder_set_max_lpc_order(FLAC__StreamEncoder *
|
||||||
* coefficients, or \c 0 to let the encoder select it based on the
|
* coefficients, or \c 0 to let the encoder select it based on the
|
||||||
* blocksize.
|
* blocksize.
|
||||||
*
|
*
|
||||||
* \note
|
|
||||||
* In the current implementation, qlp_coeff_precision + bits_per_sample must
|
|
||||||
* be less than 32.
|
|
||||||
*
|
|
||||||
* \default \c 0
|
* \default \c 0
|
||||||
* \param encoder An encoder instance to set.
|
* \param encoder An encoder instance to set.
|
||||||
* \param value See above.
|
* \param value See above.
|
||||||
|
@ -1202,6 +1198,24 @@ FLAC_API FLAC__bool FLAC__stream_encoder_set_total_samples_estimate(FLAC__Stream
|
||||||
*/
|
*/
|
||||||
FLAC_API FLAC__bool FLAC__stream_encoder_set_metadata(FLAC__StreamEncoder *encoder, FLAC__StreamMetadata **metadata, uint32_t num_blocks);
|
FLAC_API FLAC__bool FLAC__stream_encoder_set_metadata(FLAC__StreamEncoder *encoder, FLAC__StreamMetadata **metadata, uint32_t num_blocks);
|
||||||
|
|
||||||
|
/** Set to \c true to make the encoder not output frames which contain
|
||||||
|
* only constant subframes. This is beneficial for streaming
|
||||||
|
* applications: very small frames can cause problems with buffering
|
||||||
|
* as bitrates can drop as low 1kbit/s for CDDA audio encoded within
|
||||||
|
* subset. The minimum bitrate for a FLAC file encoded with this
|
||||||
|
* function used is raised to 1bit/sample (i.e. 48kbit/s for 48kHz
|
||||||
|
* material).
|
||||||
|
*
|
||||||
|
* \default \c false
|
||||||
|
* \param encoder An encoder instance to set.
|
||||||
|
* \param value Flag value (see above).
|
||||||
|
* \assert
|
||||||
|
* \code encoder != NULL \endcode
|
||||||
|
* \retval FLAC__bool
|
||||||
|
* \c false if the encoder is already initialized, else \c true.
|
||||||
|
*/
|
||||||
|
FLAC_API FLAC__bool FLAC__stream_encoder_set_limit_min_bitrate(FLAC__StreamEncoder *encoder, FLAC__bool value);
|
||||||
|
|
||||||
/** Get the current encoder state.
|
/** Get the current encoder state.
|
||||||
*
|
*
|
||||||
* \param encoder An encoder instance to query.
|
* \param encoder An encoder instance to query.
|
||||||
|
@ -1429,6 +1443,16 @@ FLAC_API uint32_t FLAC__stream_encoder_get_rice_parameter_search_dist(const FLAC
|
||||||
*/
|
*/
|
||||||
FLAC_API FLAC__uint64 FLAC__stream_encoder_get_total_samples_estimate(const FLAC__StreamEncoder *encoder);
|
FLAC_API FLAC__uint64 FLAC__stream_encoder_get_total_samples_estimate(const FLAC__StreamEncoder *encoder);
|
||||||
|
|
||||||
|
/** Get the "limit_min_bitrate" flag.
|
||||||
|
*
|
||||||
|
* \param encoder An encoder instance to query.
|
||||||
|
* \assert
|
||||||
|
* \code encoder != NULL \endcode
|
||||||
|
* \retval FLAC__bool
|
||||||
|
* See FLAC__stream_encoder_set_limit_min_bitrate().
|
||||||
|
*/
|
||||||
|
FLAC_API FLAC__bool FLAC__stream_encoder_get_limit_min_bitrate(const FLAC__StreamEncoder *encoder);
|
||||||
|
|
||||||
/** Initialize the encoder instance to encode native FLAC streams.
|
/** Initialize the encoder instance to encode native FLAC streams.
|
||||||
*
|
*
|
||||||
* This flavor of initialization sets up the encoder to encode to a
|
* This flavor of initialization sets up the encoder to encode to a
|
||||||
|
@ -1633,11 +1657,15 @@ FLAC_API FLAC__StreamEncoderInitStatus FLAC__stream_encoder_init_ogg_FILE(FLAC__
|
||||||
/** Initialize the encoder instance to encode native FLAC files.
|
/** Initialize the encoder instance to encode native FLAC files.
|
||||||
*
|
*
|
||||||
* This flavor of initialization sets up the encoder to encode to a plain
|
* This flavor of initialization sets up the encoder to encode to a plain
|
||||||
* FLAC file. If POSIX fopen() semantics are not sufficient (for example,
|
* FLAC file. If POSIX fopen() semantics are not sufficient you must use
|
||||||
* with Unicode filenames on Windows), you must use
|
|
||||||
* FLAC__stream_encoder_init_FILE(), or FLAC__stream_encoder_init_stream()
|
* FLAC__stream_encoder_init_FILE(), or FLAC__stream_encoder_init_stream()
|
||||||
* and provide callbacks for the I/O.
|
* and provide callbacks for the I/O.
|
||||||
*
|
*
|
||||||
|
* On Windows, filename must be a UTF-8 encoded filename, which libFLAC
|
||||||
|
* internally translates to an appropriate representation to use with
|
||||||
|
* _wfopen. On all other systems, filename is passed to fopen without
|
||||||
|
* any translation.
|
||||||
|
*
|
||||||
* This function should be called after FLAC__stream_encoder_new() and
|
* This function should be called after FLAC__stream_encoder_new() and
|
||||||
* FLAC__stream_encoder_set_*() but before FLAC__stream_encoder_process()
|
* FLAC__stream_encoder_set_*() but before FLAC__stream_encoder_process()
|
||||||
* or FLAC__stream_encoder_process_interleaved().
|
* or FLAC__stream_encoder_process_interleaved().
|
||||||
|
@ -1665,11 +1693,15 @@ FLAC_API FLAC__StreamEncoderInitStatus FLAC__stream_encoder_init_file(FLAC__Stre
|
||||||
/** Initialize the encoder instance to encode Ogg FLAC files.
|
/** Initialize the encoder instance to encode Ogg FLAC files.
|
||||||
*
|
*
|
||||||
* This flavor of initialization sets up the encoder to encode to a plain
|
* This flavor of initialization sets up the encoder to encode to a plain
|
||||||
* Ogg FLAC file. If POSIX fopen() semantics are not sufficient (for example,
|
* Ogg FLAC file. If POSIX fopen() semantics are not sufficient, you must use
|
||||||
* with Unicode filenames on Windows), you must use
|
|
||||||
* FLAC__stream_encoder_init_ogg_FILE(), or FLAC__stream_encoder_init_ogg_stream()
|
* FLAC__stream_encoder_init_ogg_FILE(), or FLAC__stream_encoder_init_ogg_stream()
|
||||||
* and provide callbacks for the I/O.
|
* and provide callbacks for the I/O.
|
||||||
*
|
*
|
||||||
|
* On Windows, filename must be a UTF-8 encoded filename, which libFLAC
|
||||||
|
* internally translates to an appropriate representation to use with
|
||||||
|
* _wfopen. On all other systems, filename is passed to fopen without
|
||||||
|
* any translation.
|
||||||
|
*
|
||||||
* This function should be called after FLAC__stream_encoder_new() and
|
* This function should be called after FLAC__stream_encoder_new() and
|
||||||
* FLAC__stream_encoder_set_*() but before FLAC__stream_encoder_process()
|
* FLAC__stream_encoder_set_*() but before FLAC__stream_encoder_process()
|
||||||
* or FLAC__stream_encoder_process_interleaved().
|
* or FLAC__stream_encoder_process_interleaved().
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version.
|
# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version.
|
||||||
# The variable CVF_VERSION must be set before calling configure_file().
|
# The variable CVF_VERSION must be set before calling configure_file().
|
||||||
|
|
||||||
set(PACKAGE_VERSION "1.3.4")
|
set(PACKAGE_VERSION "1.4.0")
|
||||||
|
|
||||||
if (PACKAGE_FIND_VERSION_RANGE)
|
if (PACKAGE_FIND_VERSION_RANGE)
|
||||||
# Package version must be in the requested version range
|
# Package version must be in the requested version range
|
||||||
|
|
4
deps/flac/lib/cmake/FLAC/flac-config.cmake
vendored
4
deps/flac/lib/cmake/FLAC/flac-config.cmake
vendored
|
@ -25,7 +25,9 @@ endmacro()
|
||||||
####################################################################################
|
####################################################################################
|
||||||
|
|
||||||
include(CMakeFindDependencyMacro)
|
include(CMakeFindDependencyMacro)
|
||||||
find_dependency(Ogg)
|
if(NOT TARGET Ogg::ogg)
|
||||||
|
find_dependency(Ogg)
|
||||||
|
endif()
|
||||||
|
|
||||||
include("${CMAKE_CURRENT_LIST_DIR}/targets.cmake")
|
include("${CMAKE_CURRENT_LIST_DIR}/targets.cmake")
|
||||||
|
|
||||||
|
|
14
deps/flac/lib/cmake/FLAC/targets-release.cmake
vendored
14
deps/flac/lib/cmake/FLAC/targets-release.cmake
vendored
|
@ -15,19 +15,5 @@ set_target_properties(FLAC::FLAC PROPERTIES
|
||||||
list(APPEND _IMPORT_CHECK_TARGETS FLAC::FLAC )
|
list(APPEND _IMPORT_CHECK_TARGETS FLAC::FLAC )
|
||||||
list(APPEND _IMPORT_CHECK_FILES_FOR_FLAC::FLAC "${_IMPORT_PREFIX}/lib/libFLAC.a" )
|
list(APPEND _IMPORT_CHECK_FILES_FOR_FLAC::FLAC "${_IMPORT_PREFIX}/lib/libFLAC.a" )
|
||||||
|
|
||||||
# Import target "FLAC::flacapp" for configuration "Release"
|
|
||||||
set_property(TARGET FLAC::flacapp APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
|
||||||
set_target_properties(FLAC::flacapp PROPERTIES
|
|
||||||
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/flac"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
# Import target "FLAC::metaflac" for configuration "Release"
|
|
||||||
set_property(TARGET FLAC::metaflac APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
|
||||||
set_target_properties(FLAC::metaflac PROPERTIES
|
|
||||||
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/bin/metaflac"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
# Commands beyond this point should not need to know the version.
|
# Commands beyond this point should not need to know the version.
|
||||||
set(CMAKE_IMPORT_FILE_VERSION)
|
set(CMAKE_IMPORT_FILE_VERSION)
|
||||||
|
|
8
deps/flac/lib/cmake/FLAC/targets.cmake
vendored
8
deps/flac/lib/cmake/FLAC/targets.cmake
vendored
|
@ -16,7 +16,7 @@ set(CMAKE_IMPORT_FILE_VERSION 1)
|
||||||
set(_targetsDefined)
|
set(_targetsDefined)
|
||||||
set(_targetsNotDefined)
|
set(_targetsNotDefined)
|
||||||
set(_expectedTargets)
|
set(_expectedTargets)
|
||||||
foreach(_expectedTarget FLAC::FLAC FLAC::flacapp FLAC::metaflac)
|
foreach(_expectedTarget FLAC::FLAC)
|
||||||
list(APPEND _expectedTargets ${_expectedTarget})
|
list(APPEND _expectedTargets ${_expectedTarget})
|
||||||
if(NOT TARGET ${_expectedTarget})
|
if(NOT TARGET ${_expectedTarget})
|
||||||
list(APPEND _targetsNotDefined ${_expectedTarget})
|
list(APPEND _targetsNotDefined ${_expectedTarget})
|
||||||
|
@ -59,12 +59,6 @@ set_target_properties(FLAC::FLAC PROPERTIES
|
||||||
INTERFACE_LINK_LIBRARIES "\$<\$<BOOL:1>:m>;Ogg::ogg"
|
INTERFACE_LINK_LIBRARIES "\$<\$<BOOL:1>:m>;Ogg::ogg"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Create imported target FLAC::flacapp
|
|
||||||
add_executable(FLAC::flacapp IMPORTED)
|
|
||||||
|
|
||||||
# Create imported target FLAC::metaflac
|
|
||||||
add_executable(FLAC::metaflac IMPORTED)
|
|
||||||
|
|
||||||
if(CMAKE_VERSION VERSION_LESS 2.8.12)
|
if(CMAKE_VERSION VERSION_LESS 2.8.12)
|
||||||
message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
|
message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
|
||||||
endif()
|
endif()
|
||||||
|
|
BIN
deps/flac/lib/libFLAC.a
vendored
BIN
deps/flac/lib/libFLAC.a
vendored
Binary file not shown.
2
deps/flac/lib/pkgconfig/flac.pc
vendored
2
deps/flac/lib/pkgconfig/flac.pc
vendored
|
@ -5,7 +5,7 @@ includedir=${prefix}/include
|
||||||
|
|
||||||
Name: FLAC
|
Name: FLAC
|
||||||
Description: Free Lossless Audio Codec Library
|
Description: Free Lossless Audio Codec Library
|
||||||
Version: 1.3.4
|
Version: 1.4.0
|
||||||
Requires.private: ogg
|
Requires.private: ogg
|
||||||
Libs: -L${libdir} -lFLAC
|
Libs: -L${libdir} -lFLAC
|
||||||
Libs.private: -lm
|
Libs.private: -lm
|
||||||
|
|
Loading…
Reference in a new issue