On 04.01.2010 22:21, Ron Yorgason wrote:
> Often when I see audio recording command examples, it looks something like this:
>
> audio/x-raw-int,channels=1,depth=16,width=16,rate=48000
>
> I'm pretty sure the width=16 means we're using 16 bit audio because
> when I go down to the driver layer, Alsa passes in to my driver that
> it's using 16 bit audio. But what does the depth=16 do?
>
width - bits per sample
depth - bits ACTUALLY USED FOR AUDIO per sample
You can have 32-bit samples, but in each 32-bit group only 16 or 24 bits
will be used.
This is to achieve necessary alignment.
> --Ron
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
>
http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
>
[hidden email]
>
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel