Top |
Functions
#define | AGS_AUDIO_UNIT_DEVIN_GET_OBJ_MUTEX() |
|
ags_audio_unit_devin_error_quark () |
|
ags_audio_unit_devin_test_flags () |
|
ags_audio_unit_devin_set_flags () |
|
ags_audio_unit_devin_unset_flags () |
|
ags_audio_unit_devin_switch_buffer_flag () |
|
ags_audio_unit_devin_adjust_delay_and_attack () |
|
ags_audio_unit_devin_realloc_buffer () |
AgsAudioUnitDevin * | ags_audio_unit_devin_new () |
#define | AGS_AUDIO_UNIT_DEVIN() |
#define | AGS_AUDIO_UNIT_DEVIN_CLASS() |
#define | AGS_AUDIO_UNIT_DEVIN_GET_CLASS() |
#define | AGS_IS_AUDIO_UNIT_DEVIN() |
#define | AGS_IS_AUDIO_UNIT_DEVIN_CLASS() |
|
ags_audio_unit_devin_flags_get_type () |
|
ags_audio_unit_devin_get_type () |
Properties
attack | Read | |
AgsAudioUnitClient * | audio-unit-client | Read / Write |
audio-unit-port | Read / Write | |
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_AUDIO_UNIT_DEVIN_DEFAULT_APP_BUFFER_SIZE |
enum | AgsAudioUnitDevinFlags |
enum | AgsAudioUnitDevinAppBufferMode |
enum | AgsAudioUnitDevinSyncFlags |
#define | AGS_AUDIO_UNIT_DEVIN_ERROR |
enum | AgsAudioUnitDevinError |
#define | AGS_TYPE_AUDIO_UNIT_DEVIN |
struct | AgsAudioUnitDevin |
struct | AgsAudioUnitDevinClass |
Functions
AGS_AUDIO_UNIT_DEVIN_GET_OBJ_MUTEX()
#define AGS_AUDIO_UNIT_DEVIN_GET_OBJ_MUTEX(obj) (&(((AgsAudioUnitDevin *) obj)->obj_mutex))
ags_audio_unit_devin_test_flags ()
gboolean ags_audio_unit_devin_test_flags (AgsAudioUnitDevin *audio_unit_devin
,);
guint flags
Test flags
to be set on audio_unit_devin
.
Since:
ags_audio_unit_devin_set_flags ()
void ags_audio_unit_devin_set_flags (AgsAudioUnitDevin *audio_unit_devin
,);
guint flags
Enable a feature of audio_unit_devin
.
Since:
ags_audio_unit_devin_unset_flags ()
void ags_audio_unit_devin_unset_flags (AgsAudioUnitDevin *audio_unit_devin
,);
guint flags
Disable a feature of audio_unit_devin
.
Since:
ags_audio_unit_devin_switch_buffer_flag ()
void ags_audio_unit_devin_switch_buffer_flag (AgsAudioUnitDevin *audio_unit_devin
);
The buffer flag indicates the currently played buffer.
Since:
ags_audio_unit_devin_adjust_delay_and_attack ()
void ags_audio_unit_devin_adjust_delay_and_attack (AgsAudioUnitDevin *audio_unit_devin
);
Calculate delay and attack and reset it.
Since:
ags_audio_unit_devin_realloc_buffer ()
void ags_audio_unit_devin_realloc_buffer (AgsAudioUnitDevin *audio_unit_devin
);
Reallocate the internal audio buffer.
Since:
ags_audio_unit_devin_new ()
AgsAudioUnitDevin * ags_audio_unit_devin_new ();
Creates a new instance of AgsAudioUnitDevin.
Since:
AGS_AUDIO_UNIT_DEVIN()
#define AGS_AUDIO_UNIT_DEVIN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUDIO_UNIT_DEVIN, AgsAudioUnitDevin))
AGS_AUDIO_UNIT_DEVIN_CLASS()
#define AGS_AUDIO_UNIT_DEVIN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_AUDIO_UNIT_DEVIN, AgsAudioUnitDevin))
AGS_AUDIO_UNIT_DEVIN_GET_CLASS()
#define AGS_AUDIO_UNIT_DEVIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_AUDIO_UNIT_DEVIN, AgsAudioUnitDevinClass))
AGS_IS_AUDIO_UNIT_DEVIN()
#define AGS_IS_AUDIO_UNIT_DEVIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUDIO_UNIT_DEVIN))
AGS_IS_AUDIO_UNIT_DEVIN_CLASS()
#define AGS_IS_AUDIO_UNIT_DEVIN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_AUDIO_UNIT_DEVIN))
Types and Values
AGS_AUDIO_UNIT_DEVIN_DEFAULT_APP_BUFFER_SIZE
#define AGS_AUDIO_UNIT_DEVIN_DEFAULT_APP_BUFFER_SIZE (8)
enum AgsAudioUnitDevinFlags
Enum values to control the behavior or indicate internal state of AgsAudioUnitDevin by enable/disable as flags.
enum AgsAudioUnitDevinAppBufferMode
Enum values to indicate internal state of AgsAudioUnitDevin application buffer by setting mode.
enum AgsAudioUnitDevinSyncFlags
Enum values to control the synchronization between soundcard and client.
Property Details
The “attack”
property
“attack”gpointer
Attack of the buffer
Owner: AgsAudioUnitDevin
Flags: Read
Since:
The “audio-unit-client”
property
“audio-unit-client” AgsAudioUnitClient *
The assigned AgsAudioUnitClient
Owner: AgsAudioUnitDevin
Flags: Read / Write
Since:
The “audio-unit-port”
property
“audio-unit-port”gpointer
The assigned AgsAudioUnitPort
Owner: AgsAudioUnitDevin
Flags: Read / Write
Since:
The “bpm”
property
“bpm”double
Beats per minute
Owner: AgsAudioUnitDevin
Flags: Read / Write
Allowed values: [1,240]
Default value: 120
Since:
The “buffer”
property
“buffer”gpointer
The buffer
Owner: AgsAudioUnitDevin
Flags: Read
Since:
The “buffer-size”
property
“buffer-size”guint
The buffer size
Owner: AgsAudioUnitDevin
Flags: Read / Write
Allowed values: [1,44100]
Default value: 940
Since:
The “delay-factor”
property
“delay-factor”double
tact
Owner: AgsAudioUnitDevin
Flags: Read / Write
Allowed values: [0,16]
Default value: 1
Since:
The “device”
property
“device”char *
The audio unit soundcard indentifier
Owner: AgsAudioUnitDevin
Flags: Read / Write
Default value: "ags-audio-unit-devin-0"
Since:
The “dsp-channels”
property
“dsp-channels”guint
The dsp channel count
Owner: AgsAudioUnitDevin
Flags: Read / Write
Allowed values: [1,64]
Default value: 2
Since:
The “format”
property
“format”guint
The precision of the buffer
Owner: AgsAudioUnitDevin
Flags: Read / Write
Allowed values: [1,64]
Default value: 16
Since:
The “pcm-channels”
property
“pcm-channels”guint
The pcm channel count
Owner: AgsAudioUnitDevin
Flags: Read / Write
Allowed values: [1,64]
Default value: 2
Since: