-
Notifications
You must be signed in to change notification settings - Fork 0
/
motu_command_dsp.h
36 lines (27 loc) · 1.19 KB
/
motu_command_dsp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// SPDX-License-Identifier: LGPL-2.1-or-later
#ifndef __HITAKI_MOTU_COMMAND_DSP_H__
#define __HITAKI_MOTU_COMMAND_DSP_H__
#include <hitaki.h>
G_BEGIN_DECLS
#define HITAKI_TYPE_MOTU_COMMAND_DSP (hitaki_motu_command_dsp_get_type())
G_DECLARE_INTERFACE(HitakiMotuCommandDsp, hitaki_motu_command_dsp, HITAKI, MOTU_COMMAND_DSP, GObject);
struct _HitakiMotuCommandDspInterface {
GTypeInterface iface;
/**
* HitakiMotuCommandDsp::read_float_meter:
* @self: A [iface@MotuCommandDsp]
* @meter: (array fixed-size=400) (inout): The data for meter.
* @error: A [struct@GLib.Error]. Error can be generated with error domain depending on
* implementation.
*
* Virtual function to read cached data of meter information for command DSP models.
*
* Returns: TRUE if the overall operation finished successfully, else FALSE.
*/
gboolean (*read_float_meter)(HitakiMotuCommandDsp *self, gfloat *const meter[400],
GError **error);
};
gboolean hitaki_motu_command_dsp_read_float_meter(HitakiMotuCommandDsp *self,
gfloat *const meter[400], GError **error);
G_END_DECLS
#endif