mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
libFLAC: 1.3.0
This commit is contained in:
@@ -16,3 +16,5 @@ CUETools.AVX/x64
|
|||||||
CUETools/TestResults/
|
CUETools/TestResults/
|
||||||
*.csproj.user
|
*.csproj.user
|
||||||
bin/
|
bin/
|
||||||
|
flac/src/libFLAC/ia32/*.obj
|
||||||
|
CUETools/ipch/
|
||||||
|
|||||||
@@ -102,9 +102,6 @@ namespace CUETools { namespace Codecs { namespace FLAC {
|
|||||||
if (!FLAC__stream_decoder_set_metadata_respond (_decoder, FLAC__METADATA_TYPE_VORBIS_COMMENT))
|
if (!FLAC__stream_decoder_set_metadata_respond (_decoder, FLAC__METADATA_TYPE_VORBIS_COMMENT))
|
||||||
throw gcnew Exception("unable to setup the decoder");
|
throw gcnew Exception("unable to setup the decoder");
|
||||||
|
|
||||||
if (!FLAC__stream_decoder_set_disable_asm(_decoder, true))//disableAsm))
|
|
||||||
throw gcnew Exception("unable to setup the decoder");
|
|
||||||
|
|
||||||
FLAC__StreamDecoderInitStatus st = FLAC__stream_decoder_init_stream(_decoder,
|
FLAC__StreamDecoderInitStatus st = FLAC__stream_decoder_init_stream(_decoder,
|
||||||
(FLAC__StreamDecoderReadCallback)Marshal::GetFunctionPointerForDelegate(_readDel).ToPointer(),
|
(FLAC__StreamDecoderReadCallback)Marshal::GetFunctionPointerForDelegate(_readDel).ToPointer(),
|
||||||
_IO->CanSeek?(FLAC__StreamDecoderSeekCallback)Marshal::GetFunctionPointerForDelegate(_seekDel).ToPointer():NULL,
|
_IO->CanSeek?(FLAC__StreamDecoderSeekCallback)Marshal::GetFunctionPointerForDelegate(_seekDel).ToPointer():NULL,
|
||||||
@@ -671,8 +668,6 @@ namespace CUETools { namespace Codecs { namespace FLAC {
|
|||||||
|
|
||||||
FLAC__stream_encoder_set_do_md5(_encoder, _settings->MD5Sum);
|
FLAC__stream_encoder_set_do_md5(_encoder, _settings->MD5Sum);
|
||||||
|
|
||||||
FLAC__stream_encoder_set_disable_asm(_encoder, _settings->DisableAsm);
|
|
||||||
|
|
||||||
if (_finalSampleCount != 0) {
|
if (_finalSampleCount != 0) {
|
||||||
FLAC__stream_encoder_set_total_samples_estimate(_encoder, _finalSampleCount);
|
FLAC__stream_encoder_set_total_samples_estimate(_encoder, _finalSampleCount);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user