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

List:       kde-devel
Subject:    Re: arts with libvorbis 1.0
From:       Dan Stone <dan () headzofstate ! com>
Date:       2002-07-24 19:00:58
[Download RAW message or body]

Yeah, we'd been talking about this for a bit earlier, both on this list and 
for a distro I help out with from time to time, LFS (Linux From Scratch)...it 
seems the new parameter is the maximum amount of samples you want returned 
from that call ... have you tested out the aRts server you built with these 
changes?  I was hoping someone with better knowledge of the timing of things 
in aRts would help me out with establishing a value for it...

~D. A. Stone

> I have no idea exactly how this work, but I changed
>
> Index: gsldatahandle-vorbis.c
> ===================================================================
> RCS file: /home/kde/arts/flow/gsl/gsldatahandle-vorbis.c,v
> retrieving revision 1.3
> diff -u -r1.3 gsldatahandle-vorbis.c
> --- gsldatahandle-vorbis.c      17 May 2002 19:26:22 -0000      1.3
> +++ gsldatahandle-vorbis.c      24 Jul 2002 17:49:26 -0000
> @@ -150,7 +150,7 @@
>    gint stream_id, i;
>
>    vhandle->pcm_pos = ov_pcm_tell (&vhandle->ofile) - vhandle->soffset;
> -  vhandle->pcm_length = ov_read_float (&vhandle->ofile, &pcm, &stream_id);
> +  vhandle->pcm_length = ov_read_float (&vhandle->ofile, &pcm, 1024,
> &stream_id);
>    if (vhandle->pcm_pos < 0 || vhandle->pcm_length < 0 || stream_id !=
> vhandle->stream)
>      {
>        /* urg, this is bad! */
>
> To make it compile with libvorbis 1.0 final.  Not sure of the 1024 value
> (which I took from another patch for vorbis final on the net)


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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