Displaying 3 results from an estimated 3 matches for "sfc_set_norm_doubl".
Did you mean:
sfc_set_norm_double
2013 Feb 09
5
Commonly getting FLAC__STREAM_ENCODER_VERIFY_MISMATCH_IN_AUDIO_DATA on valid audio
2013/2/8 Erik de Castro Lopo <mle+la at mega-nerd.com>:
> Collin wrote:
>
>> It turns out it was an error on my part; sorry for the trouble. I misunderstood
>> the format libflac was expecting my samples in. I found the wording in the
>> documentation very confusing.
>>
>> My audio file has 2 channels and 16-bit samples, so I have to pull out each
>>
2013 Feb 09
2
Commonly getting FLAC__STREAM_ENCODER_VERIFY_MISMATCH_IN_AUDIO_DATA on valid audio
...ouple of years ago (or maybe
it was last year, I don't remember ? I sent it from one of my other
email addresses, since I use this one for mailing lists only).
>
> Secondly, the scaling can be switched off don't you? See:
>
> http://www.mega-nerd.com/libsndfile/command.html#SFC_SET_NORM_DOUBLE
Thanks, I don't think I saw that page before, for some strange reason.
The sentence ?setting normalisation to SF_FALSE means that no scaling
will take place?, does this mean, for instance for a 24-bit file, that
the values will be doubles in the interval -8388608 to +8388607?
That information...
2013 Feb 09
0
Commonly getting FLAC__STREAM_ENCODER_VERIFY_MISMATCH_IN_AUDIO_DATA on valid audio
...it isn't right, AND it is very easy to
> do it right, so why don't they?)?
Firstly, you do realise that I am the main author and maintainer of
libsndfile, don't you?
Secondly, the scaling can be switched off don't you? See:
http://www.mega-nerd.com/libsndfile/command.html#SFC_SET_NORM_DOUBLE
Finally, there are about 700 different way so convert between int
and float. I chose the one that I thought had provided the best
trade off. I stand by that decision.
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/