SAF
|
A bunch of things that are common to many of the saf examples. More...
Go to the source code of this file.
Macros | |
#define | MAX_SH_ORDER ( 10 ) |
Maximum supported Ambisonic order. | |
#define | NUM_CH_ORDERINGS ( 2 ) |
Number of channel ordering options available. | |
#define | NUM_NORM_TYPES ( 3 ) |
Number of normalisation options available. | |
#define | NUM_STATIC_BEAM_TYPES ( 3 ) |
Number of available static beamformer types. | |
#define | PROGRESSBARTEXT_CHAR_LENGTH ( 256 ) |
Length of progress bar string. | |
#define | MAX_NUM_CHANNELS ( 128 ) |
Maximum number of input/output channels supported. | |
#define | MAX_NUM_INPUTS ( MAX_NUM_CHANNELS ) |
Maximum number of input channels supported. | |
#define | MAX_NUM_OUTPUTS ( MAX_NUM_CHANNELS ) |
Maximum number of output channels supported. | |
#define | MAX_NUM_SH_SIGNALS ( MAX_NUM_CHANNELS ) |
Maximum number of spherical harmonic components/signals supported. | |
Enumerations | |
enum | SH_ORDERS { SH_ORDER_FIRST = 1 , SH_ORDER_SECOND , SH_ORDER_THIRD , SH_ORDER_FOURTH , SH_ORDER_FIFTH , SH_ORDER_SIXTH , SH_ORDER_SEVENTH , SH_ORDER_EIGHTH , SH_ORDER_NINTH , SH_ORDER_TENTH } |
Available spherical harmonic (SH) input/output order options. More... | |
enum | CH_ORDER { CH_ACN = 1 , CH_FUMA } |
Available Ambisonic channel ordering conventions. More... | |
enum | NORM_TYPES { NORM_N3D = 1 , NORM_SN3D , NORM_FUMA } |
Available Ambisonic normalisation conventions. More... | |
enum | MIC_PRESETS { MIC_PRESET_IDEAL = 1 , MIC_PRESET_ZYLIA , MIC_PRESET_EIGENMIKE32 , MIC_PRESET_DTU_MIC } |
Available microphone array presets. More... | |
enum | LOUDSPEAKER_ARRAY_PRESETS { LOUDSPEAKER_ARRAY_PRESET_DEFAULT = 1 , LOUDSPEAKER_ARRAY_PRESET_STEREO , LOUDSPEAKER_ARRAY_PRESET_5PX , LOUDSPEAKER_ARRAY_PRESET_7PX , LOUDSPEAKER_ARRAY_PRESET_8PX , LOUDSPEAKER_ARRAY_PRESET_9PX , LOUDSPEAKER_ARRAY_PRESET_10PX , LOUDSPEAKER_ARRAY_PRESET_11PX , LOUDSPEAKER_ARRAY_PRESET_11PX_7_4 , LOUDSPEAKER_ARRAY_PRESET_13PX , LOUDSPEAKER_ARRAY_PRESET_22PX , LOUDSPEAKER_ARRAY_PRESET_22P2_9_10_3 , LOUDSPEAKER_ARRAY_PRESET_AALTO_MCC , LOUDSPEAKER_ARRAY_PRESET_AALTO_MCC_SUBSET , LOUDSPEAKER_ARRAY_PRESET_AALTO_APAJA , LOUDSPEAKER_ARRAY_PRESET_AALTO_LR , LOUDSPEAKER_ARRAY_PRESET_DTU_AVIL , LOUDSPEAKER_ARRAY_PRESET_ZYLIA_LAB , LOUDSPEAKER_ARRAY_PRESET_T_DESIGN_4 , LOUDSPEAKER_ARRAY_PRESET_T_DESIGN_12 , LOUDSPEAKER_ARRAY_PRESET_T_DESIGN_24 , LOUDSPEAKER_ARRAY_PRESET_T_DESIGN_36 , LOUDSPEAKER_ARRAY_PRESET_T_DESIGN_48 , LOUDSPEAKER_ARRAY_PRESET_T_DESIGN_60 , LOUDSPEAKER_ARRAY_PRESET_SPH_COV_9 , LOUDSPEAKER_ARRAY_PRESET_SPH_COV_16 , LOUDSPEAKER_ARRAY_PRESET_SPH_COV_25 , LOUDSPEAKER_ARRAY_PRESET_SPH_COV_49 , LOUDSPEAKER_ARRAY_PRESET_SPH_COV_64 } |
Available loudspeaker array presets. More... | |
enum | SOURCE_CONFIG_PRESETS { SOURCE_CONFIG_PRESET_DEFAULT = 1 , SOURCE_CONFIG_PRESET_MONO , SOURCE_CONFIG_PRESET_STEREO , SOURCE_CONFIG_PRESET_5PX , SOURCE_CONFIG_PRESET_7PX , SOURCE_CONFIG_PRESET_8PX , SOURCE_CONFIG_PRESET_9PX , SOURCE_CONFIG_PRESET_10PX , SOURCE_CONFIG_PRESET_11PX , SOURCE_CONFIG_PRESET_11PX_7_4 , SOURCE_CONFIG_PRESET_13PX , SOURCE_CONFIG_PRESET_22PX , SOURCE_CONFIG_PRESET_22P2_9_10_3 , SOURCE_CONFIG_PRESET_AALTO_MCC , SOURCE_CONFIG_PRESET_AALTO_MCC_SUBSET , SOURCE_CONFIG_PRESET_AALTO_APAJA , SOURCE_CONFIG_PRESET_AALTO_LR , SOURCE_CONFIG_PRESET_DTU_AVIL , SOURCE_CONFIG_PRESET_ZYLIA_LAB , SOURCE_CONFIG_PRESET_T_DESIGN_4 , SOURCE_CONFIG_PRESET_T_DESIGN_12 , SOURCE_CONFIG_PRESET_T_DESIGN_24 , SOURCE_CONFIG_PRESET_T_DESIGN_36 , SOURCE_CONFIG_PRESET_T_DESIGN_48 , SOURCE_CONFIG_PRESET_T_DESIGN_60 , SOURCE_CONFIG_PRESET_SPH_COV_9 , SOURCE_CONFIG_PRESET_SPH_COV_16 , SOURCE_CONFIG_PRESET_SPH_COV_25 , SOURCE_CONFIG_PRESET_SPH_COV_49 , SOURCE_CONFIG_PRESET_SPH_COV_64 } |
Available source configurations presets to use for encoding/panning. More... | |
enum | STATIC_BEAM_TYPES { STATIC_BEAM_TYPE_CARDIOID = 1 , STATIC_BEAM_TYPE_HYPERCARDIOID , STATIC_BEAM_TYPE_MAX_EV } |
Available static beamforming approaches. More... | |
enum | HFOV_OPTIONS { HFOV_360 = 1 , HFOV_180 , HFOV_90 , HFOV_60 } |
Available horizontal field-of-view (FOV) options. More... | |
enum | ASPECT_RATIO_OPTIONS { ASPECT_RATIO_2_1 = 1 , ASPECT_RATIO_16_9 , ASPECT_RATIO_4_3 } |
Available aspect ratios. More... | |
enum | CODEC_STATUS { CODEC_STATUS_INITIALISED = 0 , CODEC_STATUS_NOT_INITIALISED , CODEC_STATUS_INITIALISING } |
Current status of the codec. More... | |
enum | PROC_STATUS { PROC_STATUS_ONGOING = 0 , PROC_STATUS_NOT_ONGOING } |
Current status of the processing loop. More... | |
A bunch of things that are common to many of the saf examples.
Definition in file _common.h.
#define MAX_NUM_CHANNELS ( 128 ) |
#define MAX_NUM_INPUTS ( MAX_NUM_CHANNELS ) |
#define MAX_NUM_OUTPUTS ( MAX_NUM_CHANNELS ) |
#define MAX_NUM_SH_SIGNALS ( MAX_NUM_CHANNELS ) |
#define MAX_SH_ORDER ( 10 ) |
#define NUM_CH_ORDERINGS ( 2 ) |
#define NUM_NORM_TYPES ( 3 ) |
#define NUM_STATIC_BEAM_TYPES ( 3 ) |
#define PROGRESSBARTEXT_CHAR_LENGTH ( 256 ) |
enum ASPECT_RATIO_OPTIONS |
enum CH_ORDER |
enum CODEC_STATUS |
Current status of the codec.
These can be used to find out whether the codec is initialised, currently in the process of intialising, or it is not yet initialised.
enum HFOV_OPTIONS |
enum MIC_PRESETS |
enum NORM_TYPES |
enum PROC_STATUS |
Current status of the processing loop.
These are used to keep things thread-safe. i.e., the codec will not be initialised if the currently configured codec is being used to process a block of audio. Likewise, if the codec is being initialised, then the "process" functions are bypassed.
enum SH_ORDERS |
Available spherical harmonic (SH) input/output order options.
enum STATIC_BEAM_TYPES |