libFLAC: 1.3.0

This commit is contained in:
Grigory Chudov
2013-07-04 23:11:06 -04:00
parent 1b64b37878
commit 7106bc1cf9
2 changed files with 2 additions and 5 deletions

View File

@@ -16,3 +16,5 @@ CUETools.AVX/x64
CUETools/TestResults/ CUETools/TestResults/
*.csproj.user *.csproj.user
bin/ bin/
flac/src/libFLAC/ia32/*.obj
CUETools/ipch/

View File

@@ -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);
} }