OGG Vorbis Problem -> ov_read function

41993b1980cdee4f01c20a08411dc927
0
LorenSoth 101 Apr 15, 2005 at 13:59

ov_read function should return number of bytes that it reads, but it returns 0 for and it means end of file !

here is how i implement

char mychar[BUFFER_SIZE ] ;

int mysection ;

ov_read(&oggStream, mychar , BUFFER_SIZE , 0, 2, 1, &mysection);

i also checked that oggStream variable from OggVorbis_File structure is filled correctly ( i looked the channels and frequency etc… )

1 Reply

Please log in or register to post a reply.

5e1d89e267ccbd40fed3dff8a3de9085
0
TheColonial 101 Apr 15, 2005 at 16:56

And your question is……??