2013/2/8 Erik de Castro Lopo :
> 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 sample
2013/2/8 Erik de Castro Lopo :
> 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
On Sat, Feb 09, 2013 at 04:28:57AM -0800, bri...@sounds.wa.com wrote:
> Regardless of libsndfile's architecture and design, libFLAC should by
> no means duplicate the incorrect conversion. There especially should
> not be an asymmetrical set of conversion factors.
+1 to that!
--
-Dec.
---
Johnny Rosenberg wrote:
> For example, when loading an audiofile with libsndfile, all the
> samples are converted to floating point numbers,
With libsndfile, converting to float is optional. You can just as
easily read int or short.
> which is what I want
> anyway, but the conversion is done by
2013/2/9 Erik de Castro Lopo :
> Johnny Rosenberg wrote:
>
>> For example, when loading an audiofile with libsndfile, all the
>> samples are converted to floating point numbers,
>
> With libsndfile, converting to float is optional. You can just as
> easily read int or short.
>
>> which is what I wa
For instance the write_callback thing:
client_data – can it be a pointer to just about anything? For instance
a pointer to a two-dimensional array?
Are those FLAC-WAV and WAV-FLAC examples the only examples available?
What would be the best approach to read a FLAC file to an array of
some kind? P
Whatever enhancements occur for libFLAC, we certainly should not
create a situation where some flag gives different results for one
set of users versus another. Normalization of data should be separate
from conversion of data. libFLAC should only handle conversion of
data. If people want a
Johnny Rosenberg wrote:
> Anyway, if I'm allowed to ask a libsndfile question here,
Sorry, but no, this list is for FLAC related discussion.
Erik
--
--
Erik de Castro Lopo
http://www.mega-nerd.com/
_
Johnny Rosenberg wrote:
> For instance the write_callback thing:
> client_data – can it be a pointer to just about anything?
I assume you mean:
https://www.xiph.org/flac/api/group__flac__stream__decoder.html#ga13
which defines the type:
typedef FLAC__StreamDecoderWriteStatus