PLUGIN: FMOD For AGS

Started by Calin Leafshade, Sun 20/02/2011 19:01:08

Previous topic - Next topic

bbalint85

one more thing: Can I turn the music off somehow?
Can you implement a stop() function?

Timeless Journey

Calin Leafshade

I'm pretty sure i implemented a channel.Pause() method. If I didnt then I am rather stupid.

Since a channel is just an instance of a playing audiofile you dont have to 'stop' it as such since the channel allocation is dynamic anyway.

bbalint85

Quote from: Calin Leafshade on Thu 10/03/2011 07:00:40
I'm pretty sure i implemented a channel.Pause() method. If I didnt then I am rather stupid.

Since a channel is just an instance of a playing audiofile you dont have to 'stop' it as such since the channel allocation is dynamic anyway.

Well, there's no pause, at least it's not public...
the functions I can see are:
-GetPosMS
-Pannnig
-SeekMS
-SetPosition
-SetReverbMinMax
-Volume

Compared to the ags audiochannel stop(or pause) and isplaying are missing...
In the sound functions(Create, Play) I was missing a Playfrom function, but SeekMS is an available workaround.
Can you look into this?


Timeless Journey

Ronsen

I know this post is quite old, but I just wanted to check it out, unfortunately the links are dead...
Btw, Is this plugin obsolete/not working anymore or was it just a little experiment to use/check a different sound engine?   

bbalint85

Well we're using this plugin, and it's working, with the mentioned functionality. If you want to use it only for background music, and with large backgrounds, it's a good choice, as it solves the small stop while changing rooms problem.

Timeless Journey

Ronsen

Quote
http://www.thethoughtradar.com/AGS/FMODAGS/AGSfmodbin.zip
(source is available if anyone wants it)

calin, may I have a look at the source code... please :-)

Calin Leafshade


Gord10

Could you also upload the compiled one? I'd love to use this module, but I couldn't manage compiling the source code.  :cry:
Games are art!
My horror game, Self

Knox

I wouldn't mind the compiled one as well, the link seems to be broken. :(
--All that is necessary for evil to triumph is for good men to do nothing.

SMF spam blocked by CleanTalk