Sign in to follow this  

OpenAl and OggVorbis files

Recommended Posts

Hi everybody I have a problem with playing ogg files with openal, i can play the sound but when i put it in the game the fps are divide by two. When i played the same files in wave the fps are really better, if somebody can help me it will be good. Thanks

Share this post

Link to post
Share on other sites
FPS isn't really a good way to measure the efficiency of code changes.

Is it a drop from ~800 to 400, or from 60 to 30?

Use the time it took to render a frame as measurement instead.

800 to 400 drop:
frame time: 0,00125 ms ( 800 fps )
frame time: 0,0025 ms ( 400 fps )
- Difference: 1.25 ms

60 to 30 drop:
frame time: ~0,0166666666666667 ms ( 60 fps )
frame time: ~0,0333333333333333 ms ( 30 fps )
- Difference: 16.66667 ms

Catch my drift?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this