Top |
Functions
#define | AGS_MIDIIN_GET_OBJ_MUTEX() |
|
ags_midiin_error_quark () |
|
ags_midiin_test_flags () |
|
ags_midiin_set_flags () |
|
ags_midiin_unset_flags () |
|
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() |
|
ags_midiin_get_type () |
Properties
attack | Read | |
bpm | Read / Write | |
buffer | Read | |
delay-factor | Read / Write | |
|
device | Read / Write |
Types and Values
#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 |
Functions
AGS_MIDIIN_GET_OBJ_MUTEX()
#define AGS_MIDIIN_GET_OBJ_MUTEX(obj) (&(((AgsMidiin *) obj)->obj_mutex))
ags_midiin_test_flags ()
gboolean ags_midiin_test_flags (AgsMidiin *midiin
,);
guint flags
Test flags
to be set on midiin
.
Since:
ags_midiin_set_flags ()
void ags_midiin_set_flags (AgsMidiin *midiin
,);
guint flags
Enable a feature of midiin
.
Since:
ags_midiin_unset_flags ()
void ags_midiin_unset_flags (AgsMidiin *midiin
,);
guint flags
Disable a feature of midiin
.
Since:
ags_midiin_switch_buffer_flag ()
void ags_midiin_switch_buffer_flag (AgsMidiin *midiin
);
The buffer flag indicates the currently played buffer.
Since:
AGS_MIDIIN()
#define AGS_MIDIIN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MIDIIN, AgsMidiin))
AGS_MIDIIN_CLASS()
#define AGS_MIDIIN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_MIDIIN, AgsMidiin))
AGS_MIDIIN_GET_CLASS()
#define AGS_MIDIIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_MIDIIN, AgsMidiinClass))
Types and Values
enum AgsMidiinFlags
Enum values to control the behavior or indicate internal state of AgsMidiin by enable/disable as flags.
Members
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 |
||
use OSS4 backend |
||
use ALSA backend |
||
stop recording |
||
just started recording |
||
do non-blocking calls |
||
recording is initialized |
enum AgsMidiinSyncFlags
Enum values to control the synchronization between sequencer and poll.
Property Details
The “attack”
property
“attack”gpointer
Attack of the buffer
Owner: AgsMidiin
Flags: Read
Since:
The “bpm”
property
“bpm”gdouble
Beats per minute
Owner: AgsMidiin
Flags: Read / Write
Allowed values: [1,240]
Default value: 120
Since:
The “delay-factor”
property
“delay-factor”gdouble
tact
Owner: AgsMidiin
Flags: Read / Write
Allowed values: [0,16]
Default value: 1
Since: