How can I play sound use GTK+??



Hello everyone:
I am designing a small game using GTK+-2.0,and of
course I need to play sound and music while the game
is playing. But I don't know how to do it.
I have read part of StarDict's source code, I found
that it use gnome lib to play a wav file. I wonder if
I can play a wav or other formate of sound file using
only GTK? or I have to use gnome or other lib?

Thanks for reading and answering ^_^
                               best wishes

_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://cn.rd.yahoo.com/mail_cn/tag/yisou/music/*http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://cn.rd.yahoo.com/mail_cn/tag/yisou/image/*http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]