minor comments
authorJosh Coalson <jcoalson@users.sourceforce.net>
Thu, 30 Dec 2004 03:48:42 +0000 (03:48 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Thu, 30 Dec 2004 03:48:42 +0000 (03:48 +0000)
doc/html/developers.html
src/flac/decode.c
src/flac/encode.c
src/libFLAC/fixed.c
src/libFLAC/seekable_stream_decoder.c
src/share/grabbag/seektable.c

index 4c73b87..d1a8858 100644 (file)
                        <A HREF="http://java.sun.com/products/java-media/jmf/">JMF</A> plugin.
                </LI>
                <LI>
-                       Streaming support in the plugins.
+                       Streaming support in the Winamp plugin.
                </LI>
        </UL>
        </P>
index 831e940..e241dc2 100644 (file)
@@ -1183,7 +1183,7 @@ void print_stats(const DecoderSession *decoder_session)
 {
        if(flac__utils_verbosity_ >= 2) {
 #if defined _MSC_VER || defined __MINGW32__
-               /* with VC++ you have to spoon feed it the casting */
+               /* with MSVC you have to spoon feed it the casting */
                const double progress = (double)(FLAC__int64)decoder_session->samples_processed / (double)(FLAC__int64)decoder_session->total_samples * 100.0;
 #else
                const double progress = (double)decoder_session->samples_processed / (double)decoder_session->total_samples * 100.0;
index 975d66e..8d1887c 100644 (file)
@@ -1866,7 +1866,7 @@ void print_stats(const EncoderSession *encoder_session)
 {
        const FLAC__uint64 samples_written = min(encoder_session->total_samples_to_encode, encoder_session->samples_written);
 #if defined _MSC_VER || defined __MINGW32__
-       /* with VC++ you have to spoon feed it the casting */
+       /* with MSVC you have to spoon feed it the casting */
        const double progress = (double)(FLAC__int64)samples_written / (double)(FLAC__int64)encoder_session->total_samples_to_encode;
        const double ratio = (double)(FLAC__int64)encoder_session->bytes_written / ((double)(FLAC__int64)encoder_session->unencoded_size * min(1.0, progress));
 #else
index 1c46c33..6b132b8 100644 (file)
@@ -320,7 +320,7 @@ unsigned FLAC__fixed_compute_best_predictor_wide(const FLAC__int32 data[], unsig
        FLAC__ASSERT(data_len > 0 || total_error_4 == 0);
 #ifndef FLAC__INTEGER_ONLY_LIBRARY
 #if defined _MSC_VER || defined __MINGW32__
-       /* with VC++ you have to spoon feed it the casting */
+       /* with MSVC you have to spoon feed it the casting */
        residual_bits_per_sample[0] = (FLAC__float)((total_error_0 > 0) ? log(M_LN2 * (FLAC__double)(FLAC__int64)total_error_0 / (FLAC__double)data_len) / M_LN2 : 0.0);
        residual_bits_per_sample[1] = (FLAC__float)((total_error_1 > 0) ? log(M_LN2 * (FLAC__double)(FLAC__int64)total_error_1 / (FLAC__double)data_len) / M_LN2 : 0.0);
        residual_bits_per_sample[2] = (FLAC__float)((total_error_2 > 0) ? log(M_LN2 * (FLAC__double)(FLAC__int64)total_error_2 / (FLAC__double)data_len) / M_LN2 : 0.0);
index 0f79429..c4115ba 100644 (file)
@@ -952,7 +952,7 @@ FLAC__bool seek_to_absolute_sample_(FLAC__SeekableStreamDecoder *decoder, FLAC__
                        const FLAC__uint64 range_bytes = (upper_bound>lower_bound? upper_bound - lower_bound - 1 : 0);
 #ifndef FLAC__INTEGER_ONLY_LIBRARY
 #if defined _MSC_VER || defined __MINGW32__
-                       /* with VC++ you have to spoon feed it the casting */
+                       /* with MSVC you have to spoon feed it the casting */
                        pos = (FLAC__int64)lower_bound + (FLAC__int64)(((FLAC__double)(FLAC__int64)target_offset / (FLAC__double)(FLAC__int64)range_samples) * (FLAC__double)(FLAC__int64)(range_bytes-1)) - approx_bytes_per_frame;
 #else
                        pos = (FLAC__int64)lower_bound + (FLAC__int64)(((FLAC__double)target_offset / (FLAC__double)range_samples) * (FLAC__double)range_bytes) - approx_bytes_per_frame;
index 1a72d71..a3082d1 100644 (file)
@@ -61,7 +61,7 @@ FLAC__bool grabbag__seektable_convert_specification_to_template(const char *spec
                                                double sec = atof(pt);
                                                if(sec > 0.0) {
 #if defined _MSC_VER || defined __MINGW32__
-                                                       /* with VC++ you have to spoon feed it the casting */
+                                                       /* with MSVC you have to spoon feed it the casting */
                                                        unsigned n = (unsigned)((double)(FLAC__int64)total_samples_to_encode / (sec * (double)sample_rate));
 #else
                                                        unsigned n = (unsigned)((double)total_samples_to_encode / (sec * (double)sample_rate));