Jump to content


OGG Vorbis Problem -> ov_read function


1 reply to this topic

#1 LorenSoth

    New Member

  • Members
  • Pip
  • 3 posts

Posted 15 April 2005 - 01:59 PM

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... )

#2 TheColonial

    New Member

  • Members
  • Pip
  • 9 posts

Posted 15 April 2005 - 04:56 PM

And your question is......??
In order to understand recursion, one must first understand recursion.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users