DevMaster.net Forums
[[ Home | Forums | 3D Engines Database | Wiki | Articles/Tutorials | Game Dev Jobs | IRC Chat Network | Contact Us ]]

Go Back   DevMaster.net Forums > Programming & Development > Sound and Music Programming
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
Old 04-15-2005, 07:59 AM   #1
LorenSoth
New Member
 
Join Date: Apr 2005
Posts: 3
Default

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... )
LorenSoth is offline   Reply With Quote
Old 04-15-2005, 10:56 AM   #2
TheColonial
New Member
 
Join Date: Mar 2005
Location: London, England
Posts: 9
Default

And your question is......??
___________________________________________
In order to understand recursion, one must first understand recursion.
TheColonial is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump


All times are GMT -7. The time now is 09:28 AM.


Powered by vBulletin
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.