On Fri Sep 15 08:07:39 CDT 2006, [EMAIL PROTECTED] wrote: > What is fp? :-)
it's psudo-hungarian for file pointer. annoying, but standard. quite in keeping with stdio. ;-) > > > > > a better way to accompish "isogg" might be to teach file(1) to recognize > > ogg files. > > Actually a good point. Despite I have no idea how file(1) works, I know the > word 'magic', I guess it reads some bytes of the file and compares it to > entries in some kind of database. The canonical OGG-format has the strings > 'ogg ' and 'vorbis' in it, iirc, maybe I give that a shot. maybe i'll work on that when i get frustrated with getting the cursor working on this integrated geforce 6150 (nForce4). the magic file from linux is generally a good place to steal bits. > > Anyway, as the problem seems to occur with my playvorbis() (also using > libvorbis-functions, btw...), too, it does not fix the issue. > > You stay correct, tho. Maybe libvorbis does something strange to the FILE *, > or, as mentioned in the earlier posts, does use sscanf() or similar. sscanf shouldn't be a problem. getting personal with the elements of the FILE* might be. - erik
