gavl
Macros
Audio conversion flags

Macros

#define GAVL_AUDIO_FRONT_TO_REAR_COPY   (1<<0)
 
#define GAVL_AUDIO_FRONT_TO_REAR_MUTE   (1<<1)
 
#define GAVL_AUDIO_FRONT_TO_REAR_DIFF   (1<<2)
 
#define GAVL_AUDIO_FRONT_TO_REAR_MASK
 
#define GAVL_AUDIO_STEREO_TO_MONO_LEFT   (1<<3)
 
#define GAVL_AUDIO_STEREO_TO_MONO_RIGHT   (1<<4)
 
#define GAVL_AUDIO_STEREO_TO_MONO_MIX   (1<<5)
 
#define GAVL_AUDIO_STEREO_TO_MONO_MASK
 
#define GAVL_AUDIO_NORMALIZE_MIX_MATRIX   (1<<6)
 

Detailed Description

Flags for passing to gavl_audio_options_set_conversion_flags

Macro Definition Documentation

#define GAVL_AUDIO_FRONT_TO_REAR_COPY   (1<<0)

When mixing front to rear, just copy the front channels

#define GAVL_AUDIO_FRONT_TO_REAR_MUTE   (1<<1)

When mixing front to rear, mute the rear channels

#define GAVL_AUDIO_FRONT_TO_REAR_DIFF   (1<<2)

When mixing front to rear, send the difference between front to rear

#define GAVL_AUDIO_FRONT_TO_REAR_MASK
Value:
#define GAVL_AUDIO_FRONT_TO_REAR_COPY
Definition: gavl.h:691
#define GAVL_AUDIO_FRONT_TO_REAR_MUTE
Definition: gavl.h:696
#define GAVL_AUDIO_FRONT_TO_REAR_DIFF
Definition: gavl.h:701

Mask for front to rear mode

#define GAVL_AUDIO_STEREO_TO_MONO_LEFT   (1<<3)

When converting from stereo to mono, choose left channel

#define GAVL_AUDIO_STEREO_TO_MONO_RIGHT   (1<<4)

When converting from stereo to mono, choose right channel

#define GAVL_AUDIO_STEREO_TO_MONO_MIX   (1<<5)

When converting from stereo to mono, mix left and right

#define GAVL_AUDIO_STEREO_TO_MONO_MASK
Value:
#define GAVL_AUDIO_STEREO_TO_MONO_MIX
Definition: gavl.h:721
#define GAVL_AUDIO_STEREO_TO_MONO_LEFT
Definition: gavl.h:715
#define GAVL_AUDIO_STEREO_TO_MONO_RIGHT
Definition: gavl.h:718

Mask for converting stereo to mono

#define GAVL_AUDIO_NORMALIZE_MIX_MATRIX   (1<<6)

Normalize the user defined mix matrix (since 1.1.2)