How can the computer play sound (wav) under linux environement?

Started by
2 comments, last by tommylkc 21 years, 10 months ago
I would like to make a game (program) under linux or unix. However, I don''t know how to play wav file under linux. Can anyone help me or give me some reference on it?
Advertisement
Not a direct answer, but you may find what you are looking for with PortAudio. PortAudio is a free, open source, multi-platform audio API which can be targetted for Windows, Mac, Linux, Unix, BeOS and a few other platforms too, all with a generic API which is ( in my opinion ) a heck of a lot nicer than most platform specific audio API''s. The source is really cleanly written too, so if you have issues with using other peoples code you should be able to develop your own Unix/Linux audio libs from these.
Oh, and cross-posting is generally regarded as a netiquette no-no.
I just deleted a few of his spare posts. I''ll direct you all to one of these thread.

http://www.gamedev.net/community/forums/topic.asp?topic_id=98870
http://www.gamedev.net/community/forums/topic.asp?topic_id=98884

Do not meddle in the affairs of moderators, for they are subtle and quick to anger.ANDREW RUSSELL STUDIOS
Cool Links :: [ GD | TG | MS | NeHe | PA | SA | M&S | TA ]
Got Clue? :: [ Start Here! | Google | MSDN | GameDev.net Refrence | OGL v D3D | File Formats | Go FAQ yourself ]

This topic is closed to new replies.

Advertisement