Top |
Functions
#define | AGS_DEVIN_GET_OBJ_MUTEX() |
|
ags_devin_error_quark () |
|
ags_devin_test_flags () |
|
ags_devin_set_flags () |
|
ags_devin_unset_flags () |
|
ags_devin_switch_buffer_flag () |
|
ags_devin_adjust_delay_and_attack () |
|
ags_devin_realloc_buffer () |
AgsDevin * | ags_devin_new () |
#define | AGS_DEVIN() |
#define | AGS_DEVIN_CLASS() |
#define | AGS_DEVIN_GET_CLASS() |
#define | AGS_IS_DEVIN() |
#define | AGS_IS_DEVIN_CLASS() |
|
ags_devin_flags_get_type () |
|
ags_devin_get_type () |
Properties
attack | Read | |
bpm | Read / Write | |
buffer | Read | |
buffer-size | Read / Write | |
delay-factor | Read / Write | |
|
device | Read / Write |
dsp-channels | Read / Write | |
format | Read / Write | |
pcm-channels | Read / Write | |
samplerate | Read / Write |
Types and Values
#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 |
Functions
ags_devin_test_flags ()
gboolean ags_devin_test_flags (AgsDevin *devin
,);
guint flags
Test flags
to be set on devin
.
Since:
ags_devin_set_flags ()
void ags_devin_set_flags (AgsDevin *devin
,);
guint flags
Enable a feature of devin
.
Since:
ags_devin_unset_flags ()
void ags_devin_unset_flags (AgsDevin *devin
,);
guint flags
Disable a feature of devin
.
Since:
ags_devin_switch_buffer_flag ()
void ags_devin_switch_buffer_flag (AgsDevin *devin
);
The buffer flag indicates the currently recorded buffer.
Since:
ags_devin_adjust_delay_and_attack ()
void ags_devin_adjust_delay_and_attack (AgsDevin *devin
);
Calculate delay and attack and reset it.
Since:
ags_devin_realloc_buffer ()
void ags_devin_realloc_buffer (AgsDevin *devin
);
Reallocate the internal audio buffer.
Since:
AGS_DEVIN_CLASS()
#define AGS_DEVIN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_DEVIN, AgsDevin))
AGS_DEVIN_GET_CLASS()
#define AGS_DEVIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_DEVIN, AgsDevinClass))
AGS_IS_DEVIN_CLASS()
#define AGS_IS_DEVIN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_DEVIN))
Types and Values
enum AgsDevinFlags
Enum values to control the behavior or indicate internal state of AgsDevin by enable/disable as flags.
Members
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 |
Property Details
The “attack”
property
“attack”gpointer
Attack of the buffer
Owner: AgsDevin
Flags: Read
Since:
The “bpm”
property
“bpm”gdouble
Beats per minute
Owner: AgsDevin
Flags: Read / Write
Allowed values: [1,240]
Default value: 120
Since:
The “buffer-size”
property
“buffer-size”guint
The buffer size
Owner: AgsDevin
Flags: Read / Write
Allowed values: [16,16384]
Default value: 1024
Since:
The “delay-factor”
property
“delay-factor”gdouble
tact
Owner: AgsDevin
Flags: Read / Write
Allowed values: [0,16]
Default value: 1
Since:
The “device”
property
“device”gchar *
The alsa soundcard indentifier
Owner: AgsDevin
Flags: Read / Write
Default value: "hw:0,0"
Since:
The “dsp-channels”
property
“dsp-channels”guint
The dsp channel count
Owner: AgsDevin
Flags: Read / Write
Allowed values: [1,64]
Default value: 2
Since:
The “format”
property
“format”guint
The precision of the buffer
Owner: AgsDevin
Flags: Read / Write
Default value: 16
Since:
The “pcm-channels”
property
“pcm-channels”guint
The pcm channel count
Owner: AgsDevin
Flags: Read / Write
Allowed values: [1,64]
Default value: 2
Since: