search for: partopen

Displaying 2 results from an estimated 2 matches for "partopen".

Did you mean: partlen
2003 Dec 14
1
Bride of vorbisfile questions
...en as an alternative to ov_open in the xmms plugin's vorbis_check_file function. xmms never bothers to cache the result of a file check, so it tends to happen rather a lot. Unfortunately ov_test_open returns OV_EINVAL because ov_test seems to have left vf->ready_state to OPEN rather than PARTOPEN. I'm presuming this is a bug in libvorbisfile-1.0 - has it been fixed in 1.0.1? On another matter, what would be the best way to find out if a given logical stream is valid vorbis? ov_test and ov_open will fail if the first stream isn't vorbis (bit of a pain, that, as subsequant stream...
2002 Jul 23
1
[BUG] libvorbisfile ov_test() ?
...uot;vf.ready_state is: %d\n",vf.ready_state); ov_clear(&vf); return(0); } } <p><p>Maybe i wrong understand docs and idea of ov_test() / ov_test_open() ? Src of ov_test_open: int ov_test_open(OggVorbis_File *vf){ if(vf->ready_state!=PARTOPEN)return(OV_EINVAL); return _ov_open2(vf); } It returns OV_EINVAL when i run upper example: # ./a.out fail in ov_test_open(), reason: -131 vf.ready_state is: 3 When i use ov_open directly, it works. -- Mariusz Gniazdowski. --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg proj...