Re: [LAD] audio conversion functions

From: Paul Davis <paul@email-addr-hidden>
Date: Thu Jul 19 2007 - 01:33:37 EEST

On Wed, 2007-07-18 at 14:55 -0700, Craig Hoedebeck wrote:
> I am relatively new to audio programming, but I have a task that
> requires converting between various audio formats:
>
> unsigned 16 bit linear to signed 16 bit linear
> u_law to signed 16 bit linear
> a_law to signed 16 bit linear
> unsigned 8 bit linear to signed 16 bit
> signed 8 bit linear to signed 16 bit
>
> Anyone know what the conversion functions for these would look like?
> Or even what a good reference is where I can find these? I have been
> googling around for about an hour and I have come up empty.

if the data is in a file, just use libsndfile.

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-dev
Received on Thu Jul 19 04:15:04 2007

This archive was generated by hypermail 2.1.8 : Thu Jul 19 2007 - 04:15:04 EEST