mediabus-0.4.0.1: Multimedia streaming on top of Conduit

Safe HaskellNone
LanguageHaskell2010

Data.MediaBus.Conduit.Audio.Raw.DebugSink

Description

A small utility module that sends an audio stream via stdout to a sox system command that plays the audio.

Synopsis

Documentation

debugAudioPlaybackSink :: forall m i s t p c r ch pcm. (Default i, MonadIO m, KnownRate r, KnownChannelLayout ch, IsPcmValue (Pcm ch pcm), HasMediaL' c (Audio r ch (Raw pcm)), HasMediaBuffer' (Audio r ch (Raw pcm))) => Sink (Stream i s t p c) m () Source #

A Sink that launches a shell command that starts sox such that it reads raw audio data from STDIN and plays it via the systems sound card.