Skip to main content
GameDev.net gamedev.net
🔒 Locked

Making Sounds

Started by Roach Apr 26, 2001 at 3:22 PM 4 replies 300+ views
Original Post
Roach
Roach
Hello guys! I am wondering if anyone knows how to implement sounds using a Sun(Solaris) OS. Basically I am working on a radar that needs to send out a constant sound (a beep, bell, or "ALERT - ALERT") when a misstle is detected. We are looking for a simple way to do this. Any ideas? Thanks Roach
penetrator
penetrator
dont know if the following will work on a Solaris OS, but just

1) take a look at www.fmod.org

2) or try

PlaySound("sound.wav", NULL, SND_LOOP | SND_NOSTOP | SND_ASYNC);

Hope this helps !

glHorizon_Project



www.web-discovery.net


Roach
Roach
Thanks, but I can''t use Fmod due to licencing agreements (I am working on a commersial product, actualy it''s millitary), so I have to use something simple (UNIX call or a C++ function).

That PlaySound() function, is that windows only or can that be used on other systems (ie is that ANSI standard, or part of Micro$oft''s librarys?)

Thanks
Roach

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.