[Haskell-cafe] wxhaskell: Play sound not working on OSX?

Tilmann t_gass at gmx.de
Sat Apr 23 12:08:38 UTC 2016


Is it possible that play . sound might not work on OSX or I'm I doing 
something wrong? This advice from around 2006 is all I could find: "Did 
you build wxWidgets with configuring --enable-sound build option?" Is 
this still valid? If so, how do I do that?

Tilmann


|import Graphics.UI.WX main :: IO () main = start $ do f <- frame [] p <- 
panel f [] set f [layout := minsize(Size 100 100) $ widget p] play 
(sound "alarm.wav") |


Using OSX 10.9.5, GHC 7.10.2, WX 0.92.2.0

http://stackoverflow.com/questions/36809989/play-sound-with-wxhaskell-not-working-on-osx


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160423/f20be189/attachment.html>


More information about the Haskell-Cafe mailing list