add set_apodization() to oggflac layers

This commit is contained in:
Josh Coalson 2006-05-01 05:27:13 +00:00
parent ea73d72ab6
commit c4fe269a90
9 changed files with 48 additions and 2 deletions

View File

@ -143,13 +143,17 @@
<li>
libOggFLAC:
<ul>
<li>(none)</li>
<li><b>Added</b> OggFLAC__*_encoder_set_apodization()</li>
<li><b>Added</b> OggFLAC__metadata_object_cuesheet_calculate_cddb_id()</li>
<li><b>Added</b> OggFLAC__metadata_get_cuesheet()</li>
</ul>
</li>
<li>
libOggFLAC++:
<ul>
<li>(none)</li>
<li><b>Added</b> OggFLAC::*::Encoder::set_apodization()</li>
<li><b>Added</b> OggFLAC::Metadata::CueSheet::calculate_cddb_id()</li>
<li><b>Added</b> OggFLAC::Metadata::get_cuesheet()</li>
</ul>
</li>
</ul>

View File

@ -116,6 +116,7 @@ namespace FLAC {
bool set_bits_per_sample(unsigned value);
bool set_sample_rate(unsigned value);
bool set_blocksize(unsigned value);
bool set_apodization(const char *specification);
bool set_max_lpc_order(unsigned value);
bool set_qlp_coeff_precision(unsigned value);
bool set_do_qlp_coeff_prec_search(bool value);
@ -214,6 +215,7 @@ namespace FLAC {
bool set_bits_per_sample(unsigned value);
bool set_sample_rate(unsigned value);
bool set_blocksize(unsigned value);
bool set_apodization(const char *specification);
bool set_max_lpc_order(unsigned value);
bool set_qlp_coeff_precision(unsigned value);
bool set_do_qlp_coeff_prec_search(bool value);
@ -315,6 +317,7 @@ namespace FLAC {
bool set_bits_per_sample(unsigned value);
bool set_sample_rate(unsigned value);
bool set_blocksize(unsigned value);
bool set_apodization(const char *specification);
bool set_max_lpc_order(unsigned value);
bool set_qlp_coeff_precision(unsigned value);
bool set_do_qlp_coeff_prec_search(bool value);

View File

@ -119,6 +119,7 @@ namespace OggFLAC {
bool set_bits_per_sample(unsigned value);
bool set_sample_rate(unsigned value);
bool set_blocksize(unsigned value);
bool set_apodization(const char *specification);
bool set_max_lpc_order(unsigned value);
bool set_qlp_coeff_precision(unsigned value);
bool set_do_qlp_coeff_prec_search(bool value);
@ -218,6 +219,7 @@ namespace OggFLAC {
bool set_bits_per_sample(unsigned value);
bool set_sample_rate(unsigned value);
bool set_blocksize(unsigned value);
bool set_apodization(const char *specification);
bool set_max_lpc_order(unsigned value);
bool set_qlp_coeff_precision(unsigned value);
bool set_do_qlp_coeff_prec_search(bool value);
@ -321,6 +323,7 @@ namespace OggFLAC {
bool set_bits_per_sample(unsigned value);
bool set_sample_rate(unsigned value);
bool set_blocksize(unsigned value);
bool set_apodization(const char *specification);
bool set_max_lpc_order(unsigned value);
bool set_qlp_coeff_precision(unsigned value);
bool set_do_qlp_coeff_prec_search(bool value);

View File

@ -105,6 +105,12 @@ namespace FLAC {
return (bool)::FLAC__file_encoder_set_blocksize(encoder_, value);
}
bool File::set_apodization(const char *apodization)
{
FLAC__ASSERT(is_valid());
return (bool)::FLAC__file_encoder_set_apodization(encoder_, specification);
}
bool File::set_max_lpc_order(unsigned value)
{
FLAC__ASSERT(is_valid());

View File

@ -105,6 +105,12 @@ namespace FLAC {
return (bool)::FLAC__seekable_stream_encoder_set_blocksize(encoder_, value);
}
bool SeekableStream::set_apodization(const char *apodization)
{
FLAC__ASSERT(is_valid());
return (bool)::FLAC__seekable_stream_encoder_set_apodization(encoder_, specification);
}
bool SeekableStream::set_max_lpc_order(unsigned value)
{
FLAC__ASSERT(is_valid());

View File

@ -106,6 +106,12 @@ namespace FLAC {
return (bool)::FLAC__stream_encoder_set_blocksize(encoder_, value);
}
bool Stream::set_apodization(const char *apodization)
{
FLAC__ASSERT(is_valid());
return (bool)::FLAC__stream_encoder_set_apodization(encoder_, specification);
}
bool Stream::set_max_lpc_order(unsigned value)
{
FLAC__ASSERT(is_valid());

View File

@ -111,6 +111,12 @@ namespace OggFLAC {
return (bool)::OggFLAC__file_encoder_set_blocksize(encoder_, value);
}
bool File::set_apodization(const char *specification)
{
FLAC__ASSERT(is_valid());
return (bool)::OggFLAC__file_encoder_set_apodization(encoder_, specification);
}
bool File::set_max_lpc_order(unsigned value)
{
FLAC__ASSERT(is_valid());

View File

@ -111,6 +111,12 @@ namespace OggFLAC {
return (bool)::OggFLAC__seekable_stream_encoder_set_blocksize(encoder_, value);
}
bool SeekableStream::set_apodization(const char *specification)
{
FLAC__ASSERT(is_valid());
return (bool)::OggFLAC__seekable_stream_encoder_set_apodization(encoder_, specification);
}
bool SeekableStream::set_max_lpc_order(unsigned value)
{
FLAC__ASSERT(is_valid());

View File

@ -111,6 +111,12 @@ namespace OggFLAC {
return (bool)::OggFLAC__stream_encoder_set_blocksize(encoder_, value);
}
bool Stream::set_apodization(const char *specification)
{
FLAC__ASSERT(is_valid());
return (bool)::OggFLAC__stream_encoder_set_apodization(encoder_, specification);
}
bool Stream::set_max_lpc_order(unsigned value)
{
FLAC__ASSERT(is_valid());