play audio file

L

Li Chen

Hi all,

Does anyone have idea which gem/plug in is used to play audio file under
Vista?


Thanks,

Li
 
M

Michael Morin

Li said:
Hi all,

Does anyone have idea which gem/plug in is used to play audio file under
Vista?


Thanks,

Li

There's a gem called win32-sound that's suitable for playing wav files.
I assume this uses the win32 API function for playing wav files, so it
should work on vista. If you require anything more complex, you could
try the Ruby SDL bindings but win32-sound looks fine for playing simple
wav files.

--
Michael Morin
Guide to Ruby
http://ruby.about.com/
Become an About.com Guide: beaguide.about.com
About.com is part of the New York Times Company
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top