fix for FLAC__INTEGER_ONLY_LIBRARY
This commit is contained in:
parent
e70895b984
commit
f395ec43cf
@ -1473,6 +1473,7 @@ FLAC_API FLAC__bool FLAC__stream_encoder_set_compression_level(FLAC__StreamEncod
|
||||
value = sizeof(compression_levels_)/sizeof(compression_levels_[0]) - 1;
|
||||
ok &= FLAC__stream_encoder_set_do_mid_side_stereo (encoder, compression_levels_[value].do_mid_side_stereo);
|
||||
ok &= FLAC__stream_encoder_set_loose_mid_side_stereo (encoder, compression_levels_[value].loose_mid_side_stereo);
|
||||
#ifndef FLAC__INTEGER_ONLY_LIBRARY
|
||||
#if 0
|
||||
/* was: */
|
||||
ok &= FLAC__stream_encoder_set_apodization (encoder, compression_levels_[value].apodization);
|
||||
@ -1481,6 +1482,7 @@ FLAC_API FLAC__bool FLAC__stream_encoder_set_compression_level(FLAC__StreamEncod
|
||||
encoder->protected_->num_apodizations = 1;
|
||||
encoder->protected_->apodizations[0].type = FLAC__APODIZATION_TUKEY;
|
||||
encoder->protected_->apodizations[0].parameters.tukey.p = 0.5;
|
||||
#endif
|
||||
#endif
|
||||
ok &= FLAC__stream_encoder_set_max_lpc_order (encoder, compression_levels_[value].max_lpc_order);
|
||||
ok &= FLAC__stream_encoder_set_qlp_coeff_precision (encoder, compression_levels_[value].qlp_coeff_precision);
|
||||
|
Loading…
Reference in New Issue
Block a user