[linux-audio-dev] strange jack ringbuffer problem

Hans Fugal hans at fugal.net
Fri Feb 18 15:55:46 UTC 2005


On Fri, 18 Feb 2005 at 09:17 +0100, Magnus Hjorth wrote:
> 
> Hi Hans!
> 
> I took a quick look at your code. 
> 
> Shouldn't
>             src_float_to_short_array(bp, (short*)(vec[i].buf), 
>                     len*sizeof(short));
> instead be
>             src_float_to_short_array(bp, (short*)(vec[i].buf), len);

YES! Thanks a ton! I think I should have seen that earlier. A good sign
I needed to get some sleep. ;-) 

-- 
 .O.  Hans Fugal            | De gustibus non disputandum est.
 ..O  http://hans.fugal.net | Debian, vim, mutt, ruby, text, gpg
 OOO                        | WindowMaker, gaim, UTF-8, RISC, JS Bach
---------------------------------------------------------------------
GnuPG Fingerprint: 6940 87C5 6610 567F 1E95  CB5E FC98 E8CD E0AA D460
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20050218/0a5493e7/attachment.pgp>


More information about the Linux-audio-dev mailing list