[wxruby-users] How can I play files .mp3 and midi ??

Alex Fenton alex at pressure.to
Tue Mar 11 05:19:13 EDT 2008


Pat Kiatchaipipat wrote:
> and I can play normally but this can't use with .mp3 and midi files. how
> can I play it?? it work for .wav only??
>   
Yes, Wx::Sound is intended only for playing short .wav sounds.

You can use Wx::MediaCtrl to play mp3, if your platform supports that 
format (definitely yes for Windows and OS X).

alex




More information about the wxruby-users mailing list