Commit c4fe269a authored by Josh Coalson's avatar Josh Coalson

add set_apodization() to oggflac layers

parent ea73d72a
......@@ -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>
......
......@@ -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);
......
......@@ -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);
......
......@@ -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());
......
......@@ -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());
......
......@@ -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());
......
......@@ -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());
......
......@@ -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());
......
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment