[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xine-devel
Subject:    Re: [xine-devel] engine to alsa information
From:       Claudio Ciccani <klan () users ! sourceforge ! net>
Date:       2007-11-22 13:40:35
Message-ID: 474586D3.8050802 () users ! sf ! net
[Download RAW message or body]

Gabriele Melia wrote:
> Hi All,
>  
> can someone explain what means, and how it is calculated
> out_buf->num_frames in:
>  
> result = this->driver->write (this->driver, out_buf->mem,
> out_buf->num_frames );
>  
> thanks for your help,
> Gabriele
> 

num_frames = <number of bytes> / (<number of channels> * <bytes per
channel>)

-- 
Regards,
     Claudio Ciccani

klan@users.sf.net
http://directfb.org
http://sf.net/projects/php-directfb

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
xine-devel mailing list
xine-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xine-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic