Re: [linux-audio-dev] libsndfile (was Sample conversion tools)

2002-06-05 Thread Erik de Castro Lopo
On 04 Jun 2002 23:23:35 -0600 Josh Green <[EMAIL PROTECTED]> wrote: > What would happen in the current implementation? Would it be truncated? > What I am wondering is if I use sf_read_short () for loading all samples > regardless of format will it work correctly? >From memory the problem was rea

Re: [linux-audio-dev] libsndfile (was Sample conversion tools)

2002-06-05 Thread Erik de Castro Lopo
On 04 Jun 2002 23:23:35 -0600 Josh Green <[EMAIL PROTECTED]> wrote: > What would happen in the current implementation? Would it be truncated? > What I am wondering is if I use sf_read_short () for loading all samples > regardless of format will it work correctly? >From memory the problem was rea

Re: [linux-audio-dev] libsndfile (was Sample conversion tools)

2002-06-04 Thread Josh Green
On Tue, 2002-06-04 at 03:57, Erik de Castro Lopo wrote: > On 04 Jun 2002 03:09:47 -0600 > Josh Green <[EMAIL PROTECTED]> wrote: > > > Wow, I was not aware of that. I thought that "sf_read_short" should only > > be called for 16 bit audio, sf_read_int for 24 bit, etc. > > Version 1 (ready RealSo

Re: [linux-audio-dev] libsndfile (was Sample conversion tools)

2002-06-04 Thread Erik de Castro Lopo
On 04 Jun 2002 03:09:47 -0600 Josh Green <[EMAIL PROTECTED]> wrote: > Wow, I was not aware of that. I thought that "sf_read_short" should only > be called for 16 bit audio, sf_read_int for 24 bit, etc. Version 1 (ready RealSoonNow (tm) honest :-)) even does something sensible when you read say

Re: [linux-audio-dev] libsndfile (was Sample conversion tools)

2002-06-04 Thread Josh Green
On Tue, 2002-06-04 at 02:45, Erik de Castro Lopo wrote: > > On 04 Jun 2002 01:04:55 -0600 > Josh Green <[EMAIL PROTECTED]> wrote: > > > Does libsndfile have sample conversion routines yet? That is the one > > thing I like about libaudiofile. You can set a virtual format and this > > would be conv

[linux-audio-dev] libsndfile (was Sample conversion tools)

2002-06-04 Thread Erik de Castro Lopo
On Mon, 03 Jun 2002 21:01:14 -0400 Paul Davis <[EMAIL PROTECTED]> wrote: > i'm a huge fan of libsndfile (its so much better than the SGI inspired > API that does the same thing). Thanks for the very positive feedback :-). > but to be honest, sampler patches aren't in libsndfile's domain. Tha