Skip to content

Commit

Permalink
fix listener
Browse files Browse the repository at this point in the history
  • Loading branch information
polymorphicengine committed Dec 29, 2023
1 parent 2817b22 commit 02883d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tidal-listener/src/Sound/Tidal/Listener.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{-# LANGUAGE RecordWildCards #-}
module Sound.Tidal.Listener where

import Sound.Tidal.Stream (streamGetcps)
import Sound.Tidal.Stream (streamGetCPS)
import qualified Sound.Tidal.Context as T
import Sound.Tidal.Hint
import Sound.Tidal.Listener.Config
Expand Down Expand Up @@ -92,7 +92,7 @@ act st (Just (Message "/ping" [])) =

-- get the current cps of the running stream
act st (Just (Message "/cps" [])) =
do cps <- streamGetcps (sStream st)
do cps <- streamGetCPS (sStream st)
O.sendTo (sLocal st) (O.p_message "/cps" [float cps]) (sRemote st)
return st

Expand Down

0 comments on commit 02883d5

Please sign in to comment.