Top | ![]() |
![]() |
![]() |
![]() |
#define | AGS_DEVIN_GET_OBJ_MUTEX() |
GQuark | ags_devin_error_quark () |
pthread_mutex_t * | ags_devin_get_class_mutex () |
gboolean | ags_devin_test_flags () |
void | ags_devin_set_flags () |
void | ags_devin_unset_flags () |
void | ags_devin_switch_buffer_flag () |
void | ags_devin_adjust_delay_and_attack () |
void | ags_devin_realloc_buffer () |
AgsDevin * | ags_devin_new () |
#define | AGS_DEVIN() |
#define | AGS_DEVIN_CLASS() |
#define | AGS_DEVIN_GET_CLASS() |
#define | AGS_IS_DEVIN() |
GType | ags_devin_get_type () |
AgsApplicationContext * | application-context | Read / Write |
gpointer | attack | Read |
gdouble | bpm | Read / Write |
gpointer | buffer | Read |
guint | buffer-size | Read / Write |
gdouble | delay-factor | Read / Write |
gchar * | device | Read / Write |
guint | dsp-channels | Read / Write |
guint | format | Read / Write |
guint | pcm-channels | Read / Write |
guint | samplerate | Read / Write |
#define | AGS_DEVIN_DEFAULT_ALSA_DEVICE |
#define | AGS_DEVIN_DEFAULT_OSS_DEVICE |
#define | AGS_DEVIN_DEFAULT_RING_BUFFER_SIZE |
enum | AgsDevinFlags |
#define | AGS_DEVIN_ERROR |
enum | AgsDevinError |
#define | AGS_TYPE_DEVIN |
struct | AgsDevin |
struct | AgsDevinClass |
pthread_mutex_t *
ags_devin_get_class_mutex ();
Use this function's returned mutex to access mutex fields.
Since: 2.0.0
gboolean ags_devin_test_flags (AgsDevin *devin
,guint flags
);
Test flags
to be set on devin
.
Since: 2.0.0
void ags_devin_set_flags (AgsDevin *devin
,guint flags
);
Enable a feature of devin
.
Since: 2.0.0
void ags_devin_unset_flags (AgsDevin *devin
,guint flags
);
Disable a feature of devin
.
Since: 2.0.0
void
ags_devin_switch_buffer_flag (AgsDevin *devin
);
The buffer flag indicates the currently recorded buffer.
Since: 2.0.0
void
ags_devin_adjust_delay_and_attack (AgsDevin *devin
);
Calculate delay and attack and reset it.
Since: 2.0.0
void
ags_devin_realloc_buffer (AgsDevin *devin
);
Reallocate the internal audio buffer.
Since: 2.0.0
AgsDevin *
ags_devin_new (GObject *application_context
);
Creates a new instance of AgsDevin.
Since: 2.0.0
#define AGS_DEVIN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_DEVIN, AgsDevin))
#define AGS_DEVIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_DEVIN, AgsDevinClass))
Enum values to control the behavior or indicate internal state of AgsDevin by enable/disable as flags.
the devin was added to registry, see |
||
indicates the devin was connected by calling |
||
ring-buffer 0 |
||
ring-buffer 1 |
||
ring-buffer 2 |
||
ring-buffer 3 |
||
use first attack, instead of second one |
||
do capture |
||
use OSS4 backend |
||
use ALSA backend |
||
stop capture |
||
capture starting |
||
do non-blocking calls |
||
the soundcard was initialized |
“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
“buffer-size”
property“buffer-size” guint
The buffer size
Flags: Read / Write
Allowed values: [16,16384]
Default value: 1024
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 soundcard indentifier
Flags: Read / Write
Default value: "hw:0,0"
Since: 2.0.0
“dsp-channels”
property“dsp-channels” guint
The dsp channel count
Flags: Read / Write
Allowed values: [1,64]
Default value: 2
Since: 2.0.0
“format”
property“format” guint
The precision of the buffer
Flags: Read / Write
Default value: 16
Since: 2.0.0
“pcm-channels”
property“pcm-channels” guint
The pcm channel count
Flags: Read / Write
Allowed values: [1,64]
Default value: 2
Since: 2.0.0
“samplerate”
property“samplerate” guint
The samplerate
Flags: Read / Write
Allowed values: [8000,5644800]
Default value: 48000
Since: 2.0.0