Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
GI.GstAudio.Structs.AudioChannelMixer
Description
- newtype AudioChannelMixer = AudioChannelMixer (ManagedPtr AudioChannelMixer)
- noAudioChannelMixer :: Maybe AudioChannelMixer
- data AudioChannelMixerFreeMethodInfo
- audioChannelMixerFree :: (HasCallStack, MonadIO m) => AudioChannelMixer -> m ()
- data AudioChannelMixerIsPassthroughMethodInfo
- audioChannelMixerIsPassthrough :: (HasCallStack, MonadIO m) => AudioChannelMixer -> m Bool
- data AudioChannelMixerSamplesMethodInfo
- audioChannelMixerSamples :: (HasCallStack, MonadIO m) => AudioChannelMixer -> Ptr () -> Ptr () -> Int32 -> m ()
Exported types
newtype AudioChannelMixer Source #
Constructors
AudioChannelMixer (ManagedPtr AudioChannelMixer) |
Instances
WrappedPtr AudioChannelMixer Source # | |
((~) * info (ResolveAudioChannelMixerMethod t AudioChannelMixer), MethodInfo * info AudioChannelMixer p) => IsLabel t (AudioChannelMixer -> p) Source # | |
((~) * info (ResolveAudioChannelMixerMethod t AudioChannelMixer), MethodInfo * info AudioChannelMixer p) => IsLabelProxy t (AudioChannelMixer -> p) Source # | |
HasAttributeList * AudioChannelMixer Source # | |
((~) * signature (Ptr () -> Ptr () -> Int32 -> m ()), MonadIO m) => MethodInfo * AudioChannelMixerSamplesMethodInfo AudioChannelMixer signature Source # | |
((~) * signature (m Bool), MonadIO m) => MethodInfo * AudioChannelMixerIsPassthroughMethodInfo AudioChannelMixer signature Source # | |
((~) * signature (m ()), MonadIO m) => MethodInfo * AudioChannelMixerFreeMethodInfo AudioChannelMixer signature Source # | |
type AttributeList AudioChannelMixer Source # | |
Methods
free
data AudioChannelMixerFreeMethodInfo Source #
Instances
((~) * signature (m ()), MonadIO m) => MethodInfo * AudioChannelMixerFreeMethodInfo AudioChannelMixer signature Source # | |
audioChannelMixerFree Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> AudioChannelMixer |
|
-> m () |
Free memory allocated by mix
.
isPassthrough
data AudioChannelMixerIsPassthroughMethodInfo Source #
Instances
((~) * signature (m Bool), MonadIO m) => MethodInfo * AudioChannelMixerIsPassthroughMethodInfo AudioChannelMixer signature Source # | |
audioChannelMixerIsPassthrough Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> AudioChannelMixer |
|
-> m Bool | Returns: |
Check if mix
is in passthrough.
samples
data AudioChannelMixerSamplesMethodInfo Source #
Instances
((~) * signature (Ptr () -> Ptr () -> Int32 -> m ()), MonadIO m) => MethodInfo * AudioChannelMixerSamplesMethodInfo AudioChannelMixer signature Source # | |
audioChannelMixerSamples Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> AudioChannelMixer |
|
-> Ptr () |
|
-> Ptr () |
|
-> Int32 |
|
-> m () |
In case the samples are interleaved, in
and out
must point to an
array with a single element pointing to a block of interleaved samples.
If non-interleaved samples are used, in
and out
must point to an
array with pointers to memory blocks, one for each channel.
Perform channel mixing on inData
and write the result to outData
.
inData
and outData
need to be in format
and layout
.