]> gitweb @ CieloNegro.org - EsounD.git/blobdiff - Sound/EsounD/Streams.hs
Hooray! The player example actually played a sound!
[EsounD.git] / Sound / EsounD / Streams.hs
index 2be218ef4dcb727d10a3761dcac81f77b87aaeda..216fdafda4cf4b2f21284a5260fe5c7bc3e10a34 100644 (file)
@@ -4,14 +4,14 @@
   #-}
 -- | EsounD stream I/O
 module Sound.EsounD.Streams
-    ( Writable(..) 
+    ( Writable(..)
     )
     where
-import Control.Monad.IO.Class 
+import Control.Monad.IO.Class
 import Control.Monad.Trans.Region
 
-class Writable ws v where
+class Writable ws dvec where
     write ∷ ( AncestorRegion pr cr
              , MonadIO cr
              )
-          ⇒ ws (RegionT s pr) → v → cr ()
+          ⇒ ws pr → dvec → cr ()