gi-gstaudio-1.0.12: GStreamerAudio bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.GstAudio.Structs.AudioChannelMixer

Contents

Description

 

Synopsis

Exported types

newtype AudioChannelMixer Source #

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

audioChannelMixerFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> AudioChannelMixer

mix: a AudioChannelMixer

-> m () 

Free memory allocated by mix.

isPassthrough

audioChannelMixerIsPassthrough Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> AudioChannelMixer

mix: a AudioChannelMixer

-> m Bool

Returns: True is mix is passthrough.

Check if mix is in passthrough.

samples

audioChannelMixerSamples Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> AudioChannelMixer

mix: a AudioChannelMixer

-> Ptr ()

in: input samples

-> Ptr ()

out: output samples

-> Int32

samples: number of samples

-> 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.