Top | ![]() |
![]() |
![]() |
![]() |
#define | AGS_DEVOUT_GET_OBJ_MUTEX() |
GQuark | ags_devout_error_quark () |
pthread_mutex_t * | ags_devout_get_class_mutex () |
gboolean | ags_devout_test_flags () |
void | ags_devout_set_flags () |
void | ags_devout_unset_flags () |
void | ags_devout_switch_buffer_flag () |
void | ags_devout_adjust_delay_and_attack () |
void | ags_devout_realloc_buffer () |
AgsDevout * | ags_devout_new () |
#define | AGS_DEVOUT() |
#define | AGS_DEVOUT_CLASS() |
#define | AGS_DEVOUT_GET_CLASS() |
#define | AGS_IS_DEVOUT() |
GType | ags_devout_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_DEVOUT_DEFAULT_ALSA_DEVICE |
#define | AGS_DEVOUT_DEFAULT_OSS_DEVICE |
#define | AGS_DEVOUT_DEFAULT_RING_BUFFER_SIZE |
enum | AgsDevoutFlags |
#define | AGS_DEVOUT_ERROR |
enum | AgsDevoutError |
#define | AGS_TYPE_DEVOUT |
struct | AgsDevout |
struct | AgsDevoutClass |
pthread_mutex_t *
ags_devout_get_class_mutex ();
Use this function's returned mutex to access mutex fields.
Since: 2.0.0
gboolean ags_devout_test_flags (AgsDevout *devout
,guint flags
);
Test flags
to be set on devout
.
Since: 2.0.0
void ags_devout_set_flags (AgsDevout *devout
,guint flags
);
Enable a feature of devout
.
Since: 2.0.0
void ags_devout_unset_flags (AgsDevout *devout
,guint flags
);
Disable a feature of devout
.
Since: 2.0.0
void
ags_devout_switch_buffer_flag (AgsDevout *devout
);
The buffer flag indicates the currently played buffer.
Since: 2.0.0
void
ags_devout_adjust_delay_and_attack (AgsDevout *devout
);
Calculate delay and attack and reset it.
Since: 2.0.0
void
ags_devout_realloc_buffer (AgsDevout *devout
);
Reallocate the internal audio buffer.
Since: 2.0.0
AgsDevout *
ags_devout_new (GObject *application_context
);
Creates a new instance of AgsDevout.
Since: 2.0.0
#define AGS_DEVOUT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_DEVOUT, AgsDevout))
#define AGS_DEVOUT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_DEVOUT, AgsDevout))
#define AGS_DEVOUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_DEVOUT, AgsDevoutClass))
Enum values to control the behavior or indicate internal state of AgsDevout by enable/disable as flags.
the devout was added to registry, see |
||
indicates the devout was connected by calling |
||
ring-buffer 0 |
||
ring-buffer 1 |
||
ring-buffer 2 |
||
ring-buffer 3 |
||
use first attack, instead of second one |
||
devout is running |
||
use OSS4 backend |
||
use ALSA backend |
||
stop playback |
||
playback 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