From kde-devel Sun Jul 21 20:33:49 2002 From: Dan Stone Date: Sun, 21 Jul 2002 20:33:49 +0000 To: kde-devel Subject: Re: bug in arts X-MARC-Message: https://marc.info/?l=kde-devel&m=102728377216649 >Hi!=20 >Tere is a bug in the latest version of arts with vorbis 1.0.=20 >The compiling error was:=20 >gsldatahandle-vorbis.c: In function `read_packet':=20 >gsldatahandle-vorbis.c:153: warning: passing arg 3 of `ov_read_float' ma= kes=20 >integer from pointer without a cast=20 >gsldatahandle-vorbis.c:153: too few arguments to function `ov_read_float= '=20 It seems that the spec for the ov_read_float() function (in libvorbis'=20 vorbisfile.c) changed from rc3 to the 1.0 release. It used to be: long ov_read_float(OggVorbis_File *vf,float ***pcm_channels,int *bitstrea= m) and it now is: long ov_read_float(OggVorbis_File *vf,float ***pcm_channels,int length,in= t=20 *bitstream) =46rom reading the spec provided with the source, it seems that 'length' = is the=20 maximum amount of samples you want back from the read...I can't figure ou= t=20 why you'd want to limit this, but maybe someone with more knowledge of th= e=20 aRts server could comment on that...once that's nailed down, seems like a= =20 quick fix. I just set 'length' to an insanely large number, and it compi= led=20 fine =3DP ~D. A. Stone >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<