summaryrefslogtreecommitdiff
path: root/AlsaSeq.hs
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2015-12-05 00:35:23 -0500
committerAndrew Cady <d@jerkface.net>2015-12-05 01:10:53 -0500
commit05f25fe9b784e49099bde8b718147fcec1a0a9d7 (patch)
tree1471e78e7af4f37630ff36894e0045a0bb27a66f /AlsaSeq.hs
parent060af37ea78454b32b915c3364296720be118025 (diff)
add facility to queue midi output to synth
Diffstat (limited to 'AlsaSeq.hs')
-rw-r--r--AlsaSeq.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/AlsaSeq.hs b/AlsaSeq.hs
index 7fff575..5b65967 100644
--- a/AlsaSeq.hs
+++ b/AlsaSeq.hs
@@ -193,6 +193,7 @@ forwardNoteEvent h q publicAddr ev = do
193 193
194-- data T = Cons { highPriority :: !Bool , tag :: !Tag , queue :: !Queue.T , time :: !Time.T , source :: !Addr.T , dest :: !Addr.T , body :: !Data } deriving Show 194-- data T = Cons { highPriority :: !Bool , tag :: !Tag , queue :: !Queue.T , time :: !Time.T , source :: !Addr.T , dest :: !Addr.T , body :: !Data } deriving Show
195 195
196 let (Event.Cons highPriority tag _ time _ _ body) = ev in Event.output h (Event.Cons highPriority tag q time publicAddr Addr.subscribers body) 196 let (Event.Cons highPriority tag _ time _ _ body) = ev
197 Event.output h (Event.Cons highPriority tag q time publicAddr Addr.subscribers body)
197 Event.drainOutput h 198 Event.drainOutput h
198 return () 199 return ()