Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.MediaBus.Media.Audio.Raw
Description
Sub-types of Audio
for uncompressed audio.
- data Raw encoding
- data family Pcm c t
- pcmMediaBuffer :: Iso (Audio r c (Raw t)) (Audio r' c' (Raw t')) (MediaBuffer (Pcm c t)) (MediaBuffer (Pcm c' t'))
- class (CanBeBlank a, CanBeSample a, Arbitrary a) => IsPcmValue a where
Documentation
An indicator for uncompressed audio with a given per sample encoding type.
Instances
A family of multi-channel audio sample value types. Values of this type are
stored in MediaBuffer
s.
The Audio
instances with Raw
encodings use MediaBuffer
s of Pcm
values to store (multi-channel-) samples.
Instances
pcmMediaBuffer :: Iso (Audio r c (Raw t)) (Audio r' c' (Raw t')) (MediaBuffer (Pcm c t)) (MediaBuffer (Pcm c' t')) Source #
An isomorphism for Audio
and MediaBuffer
class (CanBeBlank a, CanBeSample a, Arbitrary a) => IsPcmValue a where Source #
Types of per channel PCM audio sample value.
Minimal complete definition
Instances
IsPcmValue S16 Source # | |
IsPcmValue ALaw Source # | |
IsPcmValue s => IsPcmValue (Pcm Mono s) Source # | |
IsPcmValue a => IsPcmValue (Pcm Stereo a) Source # | |