Sign in to follow this  

FMod being stupid

This topic is 3729 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am trying to play a streamed music file in FMod... It seems to be looping the song at about the one second mark instead of at the end, which, needless to say, is not acceptable. My [(seemingly) relevant] code is: (includes)
#include "FMOD/fmod.h"
(at program start)
	FSOUND_Init(44100, 128, 0);
	music = FSOUND_Stream_Open("Music.mp3", FSOUND_NORMAL | FSOUND_LOOP_NORMAL, 0, 0);
	FSOUND_Stream_Play(0, music);
(at program finish)
	FSOUND_Close();
How can I fix this? I am using FMod 3.75 (the newer versions don't work for me.) Edit: I tried not having it loop, but it did the same thing somehow.

Share this post


Link to post
Share on other sites

This topic is 3729 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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