Top | ![]() |
![]() |
![]() |
![]() |
#define | AGS_MIDIIN_GET_OBJ_MUTEX() |
GQuark | ags_midiin_error_quark () |
pthread_mutex_t * | ags_midiin_get_class_mutex () |
gboolean | ags_midiin_test_flags () |
void | ags_midiin_set_flags () |
void | ags_midiin_unset_flags () |
void | ags_midiin_switch_buffer_flag () |
AgsMidiin * | ags_midiin_new () |
#define | AGS_IS_MIDIIN() |
#define | AGS_MIDIIN() |
#define | AGS_MIDIIN_CLASS() |
#define | AGS_MIDIIN_GET_CLASS() |
GType | ags_midiin_get_type () |
AgsApplicationContext * | application-context | Read / Write |
gpointer | attack | Read |
gdouble | bpm | Read / Write |
gpointer | buffer | Read |
gdouble | delay-factor | Read / Write |
gchar * | device | Read / Write |
#define | AGS_MIDIIN_DEFAULT_ALSA_DEVICE |
#define | AGS_MIDIIN_DEFAULT_OSS_DEVICE |
#define | AGS_MIDIIN_DEFAULT_BUFFER_SIZE |
enum | AgsMidiinFlags |
enum | AgsMidiinSyncFlags |
#define | AGS_MIDIIN_ERROR |
enum | AgsMidiinError |
#define | AGS_TYPE_MIDIIN |
struct | AgsMidiin |
struct | AgsMidiinClass |
pthread_mutex_t *
ags_midiin_get_class_mutex ();
Use this function's returned mutex to access mutex fields.
Since: 2.0.0
gboolean ags_midiin_test_flags (AgsMidiin *midiin
,guint flags
);
Test flags
to be set on midiin
.
Since: 2.0.0
void ags_midiin_set_flags (AgsMidiin *midiin
,guint flags
);
Enable a feature of midiin
.
Since: 2.0.0
void ags_midiin_unset_flags (AgsMidiin *midiin
,guint flags
);
Disable a feature of midiin
.
Since: 2.0.0
void
ags_midiin_switch_buffer_flag (AgsMidiin *midiin
);
The buffer flag indicates the currently played buffer.
Since: 2.0.0
AgsMidiin *
ags_midiin_new (GObject *application_context
);
Creates a new instance of AgsMidiin.
Since: 2.0.0
#define AGS_MIDIIN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MIDIIN, AgsMidiin))
#define AGS_MIDIIN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_MIDIIN, AgsMidiin))
#define AGS_MIDIIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_MIDIIN, AgsMidiinClass))
Enum values to control the behavior or indicate internal state of AgsMidiin by enable/disable as flags.
the midiin was added to registry, see |
||
indicates the midiin was connected by calling |
||
ring-buffer 0 |
||
ring-buffer 1 |
||
ring-buffer 2 |
||
ring-buffer 3 |
||
use first attack, instead of second one |
||
is recording |
||
stop recording |
||
just started recording |
||
do non-blocking calls |
||
recording is initialized |
Enum values to control the synchronization between sequencer and poll.
“application-context”
property“application-context” AgsApplicationContext *
The assigned AgsApplicationContext
Flags: Read / Write
Since: 2.0.0
“bpm”
property“bpm” gdouble
Beats per minute
Flags: Read / Write
Allowed values: [1,240]
Default value: 120
Since: 2.0.0
“delay-factor”
property“delay-factor” gdouble
tact
Flags: Read / Write
Allowed values: [0,16]
Default value: 1
Since: 2.0.0
“device”
property“device” gchar *
The alsa sequencer indentifier
Flags: Read / Write
Default value: "hw:0,0"
Since: 2.0.0