HinawaSndMotuRegisterDspParameter

HinawaSndMotuRegisterDspParameter — A boxed object for container of parameter in register DSP model

Functions

Types and Values

Object Hierarchy

    GBoxed
    ╰── HinawaSndMotuRegisterDspParameter

Includes

#include <snd_motu_register_dsp_parameter.h>

Description

A HinawaSndMotuRegisterDspParameter is a boxed object for container of parameter in register DSP model.

Functions

hinawa_snd_motu_register_dsp_parameter_new ()

HinawaSndMotuRegisterDspParameter *
hinawa_snd_motu_register_dsp_parameter_new
                               (void);

Instantiate HinawaSndMotuRegisterDspParameter object and return the instance.

Returns

an instance of HinawaSndMotuRegisterDspParameter.

Since: 2.4


hinawa_snd_motu_register_dsp_parameter_get_mixer_source_gain ()

void
hinawa_snd_motu_register_dsp_parameter_get_mixer_source_gain
                               (const HinawaSndMotuRegisterDspParameter *self,
                                gsize mixer,
                                const guint8 *gain[20]);

Get the array with elements for the data of source gains in indicated mixer. The data has gain value between 0x00 and 0x80.

Parameters

self

A HinawaSndMotuRegisterDspParameter.

 

mixer

the numeric index of mixer, up to 4.

 

gain

The array with elements for the data of source gains.

[array fixed-size=20][out][transfer none]

hinawa_snd_motu_register_dsp_parameter_get_mixer_source_pan ()

void
hinawa_snd_motu_register_dsp_parameter_get_mixer_source_pan
                               (const HinawaSndMotuRegisterDspParameter *self,
                                gsize mixer,
                                const guint8 *pan[20]);

Get the array with elements for the data of source pans in indicated mixer. The data has pan value between 0x00 and 0x80.

Parameters

self

A HinawaSndMotuRegisterDspParameter.

 

mixer

the numeric index of mixer, up to 4.

 

pan

The array with elements for the data of source pan.

[array fixed-size=20][out][transfer none]

hinawa_snd_motu_register_dsp_parameter_get_mixer_source_flag ()

void
hinawa_snd_motu_register_dsp_parameter_get_mixer_source_flag
                               (const HinawaSndMotuRegisterDspParameter *self,
                                gsize mixer,
                                const guint8 *flag[20]);

Get the array with elements for the data of source flags in indicated mixer. The data consists of bit flags below:

  • 0x01: whether to enable mute function for the source.

  • 0x02: whether to enable solo function for the source.

Parameters

self

A HinawaSndMotuRegisterDspParameter.

 

mixer

the numeric index of mixer, up to 4.

 

flag

The array with elements for the data of source flag.

[array fixed-size=20][out][transfer none]

hinawa_snd_motu_register_dsp_parameter_get_mixer_source_paired_balance ()

void
hinawa_snd_motu_register_dsp_parameter_get_mixer_source_paired_balance
                               (const HinawaSndMotuRegisterDspParameter *self,
                                gsize mixer,
                                const guint8 *balance[20]);

Get the array with elements for the data of paired source L/R balance in indicated mixer. The data has L/R balance value between 0x00 and 0x80.

Parameters

self

A HinawaSndMotuRegisterDspParameter.

 

mixer

the numeric index of mixer, up to 4.

 

balance

The array with elements for the data of paired source L/R balance.

[array fixed-size=20][out][transfer none]

hinawa_snd_motu_register_dsp_parameter_get_mixer_source_paired_width ()

void
hinawa_snd_motu_register_dsp_parameter_get_mixer_source_paired_width
                               (const HinawaSndMotuRegisterDspParameter *self,
                                gsize mixer,
                                const guint8 *width[20]);

Get the array with elements for the data of paired source width in indicated mixer. The data has width value between 0x00 and 0x80.

Parameters

self

A HinawaSndMotuRegisterDspParameter.

 

mixer

the numeric index of mixer, up to 4.

 

width

The array with elements for the data of paired source width.

[array fixed-size=20][out][transfer none]

hinawa_snd_motu_register_dsp_parameter_get_mixer_output_paired_volume ()

void
hinawa_snd_motu_register_dsp_parameter_get_mixer_output_paired_volume
                               (const HinawaSndMotuRegisterDspParameter *self,
                                const guint8 *volume[4]);

Get the array with elements for the data of paired output volume in indicated mixer. The data has gain value between 0x00 and 0x80.

Parameters

self

A HinawaSndMotuRegisterDspParameter.

 

volume

The array with elements for the data of paired output volume.

[array fixed-size=4][out][transfer none]

hinawa_snd_motu_register_dsp_parameter_get_mixer_output_paired_flag ()

void
hinawa_snd_motu_register_dsp_parameter_get_mixer_output_paired_flag
                               (const HinawaSndMotuRegisterDspParameter *self,
                                const guint8 *flag[4]);

Get the array with elements for the data of paired output flags in indicated mixer. The data consists of bit flags and masks below:

  • 0x0f: the mask for destination of paired output

  • 0x10: whether to enable mute for paired output

Parameters

self

A HinawaSndMotuRegisterDspParameter.

 

flag

The array with elements for the data of paired output flag.

[array fixed-size=4][out][transfer none]

hinawa_snd_motu_register_dsp_parameter_get_main_output_paired_volume ()

void
hinawa_snd_motu_register_dsp_parameter_get_main_output_paired_volume
                               (const HinawaSndMotuRegisterDspParameter *self,
                                guint8 *volume);

Get the array with elements for the data of paired main output volume. The data has volume value between 0x00 and 0x80.

Parameters

self

A HinawaSndMotuRegisterDspParameter.

 

volume

The value of paired main output.

[out]

hinawa_snd_motu_register_dsp_parameter_get_headphone_output_paired_volume ()

void
hinawa_snd_motu_register_dsp_parameter_get_headphone_output_paired_volume
                               (const HinawaSndMotuRegisterDspParameter *self,
                                guint8 *volume);

Get the array with elements for the data of paired headphone output volume. The data has volume value between 0x00 and 0x80.

Parameters

self

A HinawaSndMotuRegisterDspParameter.

 

volume

The value of paired headphone output.

[out]

hinawa_snd_motu_register_dsp_parameter_get_headphone_output_paired_assignment ()

void
hinawa_snd_motu_register_dsp_parameter_get_headphone_output_paired_assignment
                               (const HinawaSndMotuRegisterDspParameter *self,
                                guint8 *assignment);

Get the array with elements for the data of paired headphone output source. The data has index value of source.

Parameters

self

A HinawaSndMotuRegisterDspParameter.

 

assignment

The value of paired headphone assignment.

[out]

hinawa_snd_motu_register_dsp_parameter_get_line_input_boost_flag ()

void
hinawa_snd_motu_register_dsp_parameter_get_line_input_boost_flag
                               (const HinawaSndMotuRegisterDspParameter *self,
                                guint8 *boost_flag);

Get the data for flags of line input boost. The data consists of bit flags for corresponding line input channel. When the flag stands, the input is boosted.

Parameters

self

A HinawaSndMotuRegisterDspParameter.

 

boost_flag

The flag of boost for line input.

[out]

hinawa_snd_motu_register_dsp_parameter_get_line_input_nominal_level_flag ()

void
hinawa_snd_motu_register_dsp_parameter_get_line_input_nominal_level_flag
                               (const HinawaSndMotuRegisterDspParameter *self,
                                guint8 *nominal_level_flag);

Get the data for flags of line input nominal level. The data consists of bit flags for corresponding line input channel. When the flag stands, the nominal level of input is +4 dBu, else -10 dBV.

Parameters

self

A HinawaSndMotuRegisterDspParameter.

 

nominal_level_flag

The flag of boost for line input.

[out]

hinawa_snd_motu_register_dsp_parameter_get_input_gain_and_invert ()

void
hinawa_snd_motu_register_dsp_parameter_get_input_gain_and_invert
                               (const HinawaSndMotuRegisterDspParameter *self,
                                const guint8 *gain_and_invert[10]);

Get the array with elements for input gain and invert flags. The interpretation of data is different in below two groups:

  • Ultralite

    • 0x1f: the gain.

    • 0x20: whether to invert phase of the input

  • Audio Express and 4 pre

    • 0x3f: the gain

    • 0x40: whether to invert phase of the input

Parameters

self

A HinawaSndMotuRegisterDspParameter.

 

gain_and_invert

The array with elements for the data of input gain and invert flags.

[array fixed-size=10][out][transfer none]

hinawa_snd_motu_register_dsp_parameter_get_input_flag ()

void
hinawa_snd_motu_register_dsp_parameter_get_input_flag
                               (const HinawaSndMotuRegisterDspParameter *self,
                                const guint8 *flag[10]);

Get the array with elements for the data of input flags. The data consists of bit flags below:

  • 0x01: whether to make paired input

  • 0x02: whether to enable phantom powering

  • 0x04: whether to enable attenuation pad

  • 0x08: whether to detect plug insert to jack

Parameters

self

A HinawaSndMotuRegisterDspParameter.

 

flag

The array with elements for the data of input flags.

[array fixed-size=10][out][transfer none]

Types and Values

HINAWA_TYPE_MOTU_REGISTER_DSP_PARAMETER

#define HINAWA_TYPE_MOTU_REGISTER_DSP_PARAMETER (hinawa_snd_motu_register_dsp_parameter_get_type())