Re: [linux-audio-dev] [ann] pvoc-0.1.0, caps-0.1.11

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] [ann] pvoc-0.1.0, caps-0.1.11
From: Jesse Chappell (jesse_AT_essej.net)
Date: Thu Mar 25 2004 - 00:21:43 EET


Erik de Castro Lopo wrote on Thu, 25-Mar-2004:

> > >I just realized that you may not want to clamp if your output
> > >is a 32 bit float or double, as it is fully capable of handling
> > >the value as produced. For instance, if (well, when) we suck this
> > >algorithm into ardour we don't need to clamp, as our internal
> > >format is float.
> >
> > true. i'll make it an option.
>
> Correct me if I'm wrong, but isn't clipping only a problem when
> converting to integer PCM sound file. If that is the case, you
> can leave the data unclipped and let libsndfile do the clipping
> by using this:
>
> http://www.mega-nerd.com/libsndfile/command.html#SFC_SET_CLIPPING

Beautiful! Erik to the rescue, this is the correct solution.
Throw out my patch and replace with a call to do that.

jlc
 


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Mar 25 2004 - 00:24:32 EET