
23 Apr
2016
23 Apr
'16
12:08 p.m.
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-wo...