diff options
author | Andrew Cady <d@jerkface.net> | 2015-12-05 00:35:23 -0500 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2015-12-05 01:10:53 -0500 |
commit | 05f25fe9b784e49099bde8b718147fcec1a0a9d7 (patch) | |
tree | 1471e78e7af4f37630ff36894e0045a0bb27a66f /AlsaSeq.hs | |
parent | 060af37ea78454b32b915c3364296720be118025 (diff) |
add facility to queue midi output to synth
Diffstat (limited to 'AlsaSeq.hs')
-rw-r--r-- | AlsaSeq.hs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 () |