add set_apodization() to oggflac layers
authorJosh Coalson <jcoalson@users.sourceforce.net>
Mon, 1 May 2006 05:27:13 +0000 (05:27 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Mon, 1 May 2006 05:27:13 +0000 (05:27 +0000)
doc/html/changelog.html
include/FLAC++/encoder.h
include/OggFLAC++/encoder.h
src/libFLAC++/file_encoder.cpp
src/libFLAC++/seekable_stream_encoder.cpp
src/libFLAC++/stream_encoder.cpp
src/libOggFLAC++/file_encoder.cpp
src/libOggFLAC++/seekable_stream_encoder.cpp
src/libOggFLAC++/stream_encoder.cpp

index bbae9ab..490956e 100644 (file)
                                        <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>
index 1e17658..88768ae 100644 (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);
index b1248fc..0c63937 100644 (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);
index 0d6ac7a..8074cd8 100644 (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());
index 9bc6d75..d08afc0 100644 (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());
index f7439dc..004558c 100644 (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());
index 1607057..ee921c0 100644 (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());
index 31741cb..e96bd16 100644 (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());
index bf50daf..183cf55 100644 (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());