Home » Community » Forums » » A Quick Guide to FMOD
  Intel sponsors gamedev.net search:   
[Control Panel] [Register] [Bookmarks] [Who's Online] [Active Topics] [Stats] [FAQ] [Search]

Add Forum to Favorites |  Send Topic To a Friend | View Forum FAQ | Track this topic


 Last Thread Next Thread 
 A Quick Guide to FMOD
Post Reply 
Very simple but complete article. Covers everything a sound-n00b needs to know to play sound in their apps.

--
You're Welcome,
Rick Wong
- Google | Google for GameDev.net | GameDev.net's DirectX FAQ. (not as cool as the Graphics and Theory FAQ)


 User Rating: 1469   |  Rate This User  Send Private MessageView ProfileView Journal Report this Post to a Moderator | Link

I have problem linking with the 'libfmod.a'-library in Cygwin. I compile the test program with:

> g++ -L. -lfmod test.cc

The compilation succeeds, and it finds the library, but still complains about all the undefined references to the FMOD function calls and stuff.

Anyone using Cygwin with the same problem?

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Maybe you'll find more help in FMOD.org's forum.

--
You're Welcome,
Rick Wong
- Google | Google for GameDev.net | GameDev.net's DirectX FAQ. (not as cool as the Graphics and Theory FAQ)


 User Rating: 1469   |  Rate This User  Send Private MessageView ProfileView Journal Report this Post to a Moderator | Link

Can you please put a warning in there about changing the user volume settings to maxumim.. I use headphones and have windows volume settings faily low. Whenever I run demos or games using FMOD they love to put both wave and master volume to maxumim, sending me flying across the room randomly.

It's got so bad I've actually checked for applications that contain FMOD.DLL and disable sound or removed my headphones.

 User Rating: 1035   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

I suffer from having speakers (at work) that the volume doesn't work on, so I require software controlled volume to stop the boss from investigating, or the customers from being deafened. People who use fmod should most definitely have a volume control in their app that allows the user to choose the volume..

Max volume == teh bad

Good article though

-Chris Bennett of Dwarfsoft - The future of RPGs GPA Thanks to all the goblins in the GDCorner niche

 User Rating: 1649   |  Rate This User  Send Private MessageView ProfileView JournalView GD Showcase Entries Report this Post to a Moderator | Link

"I have problem linking with the 'libfmod.a'-library in Cygwin. I compile the test program with

> g++ -L. -lfmod test.cc
"

As far as i remember on Unix (been a while) -l means load the dynamic library. lib0fmod.a is an archive (static) library and and as such you need link it as you would any other obj

eg

cc obj1.o obj2.o libfmod.a ...etc...etc...


When you use -lxxx it means load the dynamic library xxx.sl. The extension .sl may change across various unixes, on HPUX it was .so




 User Rating: 1015    Report this Post to a Moderator | Link

Can you imagine a programmer evil enough to write a System Shock-like game and wait til the worst moment to turn the master volume all the way up? That would be funny, at least until someone dies from the shock.


[edited by - Codexus on May 24, 2004 10:25:13 AM]

 User Rating: 1023   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Nice concise article!

 User Rating: 1254   |  Rate This User  Send Private MessageView ProfileView Journal Report this Post to a Moderator | Link

You could also mention BASS as alternative, as it is simmilar to FMOD (and about the same $$$ range).

You should never let your fears become the boundaries of your dreams.

 User Rating: 1336   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

I thought you weren't able to give FMOD a FSOUND_SAMPLE pointer to any of the Volume, Pan, Loop functions. It works for the FMUSIC equivalents, but functions like FSOUND_SetVolume require a channel number, not a sample or stream pointer.

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

it seems to not function on my computer. it's like VC++6.0 does not recognise fmod functions...

 User Rating: 970   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Quote:
Original post by Vangelis
I thought you weren't able to give FMOD a FSOUND_SAMPLE pointer to any of the Volume, Pan, Loop functions. It works for the FMUSIC equivalents, but functions like FSOUND_SetVolume require a channel number, not a sample or stream pointer.


FSOUND_ALL seems to solve this.

eg FSOUND_SetVolume (FSOUND_ALL, 256);

 User Rating: 1015   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

All times are ET (US)

Post Reply
 Last Thread Next Thread 
Forum Rules:
You may not post new threads
You may post replies
You may not edit your posts
You may not use HTML in your posts
Jump To:
Administrative Options: