summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2015-12-17 21:57:53 -0500
committerAndrew Cady <d@jerkface.net>2015-12-17 21:57:53 -0500
commit84350cf791beb1b0b42c1bd8b9cc82214d54f39a (patch)
treec53f4e8d33cc7588750a46403dec8d2f38bd9783
parentd95617e806181713546d4d6d3864e9a01004fc86 (diff)
axis.hs: use AlsaShutUp
-rw-r--r--axis.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/axis.hs b/axis.hs
index 51805fc..6a0a844 100644
--- a/axis.hs
+++ b/axis.hs
@@ -25,6 +25,8 @@ import qualified Sound.ALSA.Sequencer
25import qualified Sound.ALSA.Sequencer.Queue 25import qualified Sound.ALSA.Sequencer.Queue
26import qualified Sound.ALSA.Sequencer.Address 26import qualified Sound.ALSA.Sequencer.Address
27 27
28import AlsaShutUp
29
28smartShowPitch = showPitch -- TODO: use flat for Eb, Bb; use unicode flat/sharp chars 30smartShowPitch = showPitch -- TODO: use flat for Eb, Bb; use unicode flat/sharp chars
29 31
30_USE_HEXAGONS = True 32_USE_HEXAGONS = True
@@ -226,6 +228,7 @@ main =
226 -- pixelFormat or the faked one, so fuck it. See colorToPixel let pixelFormat = 228 -- pixelFormat or the faked one, so fuck it. See colorToPixel let pixelFormat =
227 -- SDL.surfaceGetPixelFormat videoSurface pixelFormat <- SDL.surfaceGetPixelFormat <$> 229 -- SDL.surfaceGetPixelFormat videoSurface pixelFormat <- SDL.surfaceGetPixelFormat <$>
228 -- SDL.createRGBSurfaceEndian [] 1 1 24 230 -- SDL.createRGBSurfaceEndian [] 1 1 24
231 shutUp
229 putStrLn "Initialized." 232 putStrLn "Initialized."
230 233
231 (_, ()) <- execRWST mainLoop 234 (_, ()) <- execRWST mainLoop