I have a wrapper for FMOD which uses an emitter model and I can play sounds etc but not in 3D successfully. The sounds are recorded in stereo and contained in .ogg format and I thrawled through the forum last night and have seen that I need to use Force Mono flag when loading stereo sound. This assumes I am using FSound_Sample_Load which I am not. I currently use the FMUSIC_LoadSong AND FMUSIC_GetSample to retrieve a handle to the sample which I can then use to play each sample in an FSB. I realize this may obviously now be my problem, I’m using the FMUSIC api instead of the FSOUND api. Just in case, is there a way to force mono using the FMUSIC api which is not obvious?
My other question is:
I have tested using FSound_Sample_Load to load in an FSB containing oggs but when I try and retrieve the samples, I am getting no valid sample handle returned using the force mono flag with hw3d flag.
I’ve had no problem loading the samples from the FSB before, anyone got any insightful comments?
>Any other suggestions for loading an FSB and getting samples to play in >3d would be greatly appreciated as opposed to having to implement >support for streaming individual audio files.
Please ignore this comment from the last reply. I looked at the docs for the FBANK tool and have seen I can use the stream interface to load FSBs and consequently access the individual samples/streams within the FSB which I did not know to be possible. I will try this….
I’ve got the issue sorted using the streams interface to play FSB substreams. I really like this API especially the functionality for
building substream sentences. Will the docs get updated with some of
the information on the forums as there is some excellent sources of
information there, however I had to spend some time thrifting through
thanks to the FMOD team.
I tried what you suggested with FMUSIC_LoadSongEx however the only flags that seem to be supported as per the docs I have are,
If this is incorrect please let me know as passing FORCEMONO does not work and FMUSIC_LoadSongEx simply returns an invalid module handle. Will this change in future revisions of the api.
Any other suggestions for loading an FSB and getting samples to play in 3d would be greatly appreciated as opposed to having to implement support for streaming individual audio files.
Please login first to submit.