Top |
Functions
#define | AGS_AUDIO_UNIT_DEVOUT_GET_OBJ_MUTEX() |
|
ags_audio_unit_devout_error_quark () |
|
ags_audio_unit_devout_test_flags () |
|
ags_audio_unit_devout_set_flags () |
|
ags_audio_unit_devout_unset_flags () |
|
ags_audio_unit_devout_switch_buffer_flag () |
|
ags_audio_unit_devout_adjust_delay_and_attack () |
|
ags_audio_unit_devout_realloc_buffer () |
AgsAudioUnitDevout * | ags_audio_unit_devout_new () |
#define | AGS_AUDIO_UNIT_DEVOUT() |
#define | AGS_AUDIO_UNIT_DEVOUT_CLASS() |
#define | AGS_AUDIO_UNIT_DEVOUT_GET_CLASS() |
#define | AGS_IS_AUDIO_UNIT_DEVOUT() |
|
ags_audio_unit_devout_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
enum | AgsAudioUnitDevoutFlags |
enum | AgsAudioUnitDevoutSyncFlags |
#define | AGS_AUDIO_UNIT_DEVOUT_ERROR |
enum | AgsAudioUnitDevoutError |
#define | AGS_TYPE_AUDIO_UNIT_DEVOUT |
struct | AgsAudioUnitDevout |
struct | AgsAudioUnitDevoutClass |
Functions
AGS_AUDIO_UNIT_DEVOUT_GET_OBJ_MUTEX()
#define AGS_AUDIO_UNIT_DEVOUT_GET_OBJ_MUTEX(obj) (&(((AgsAudioUnitDevout *) obj)->obj_mutex))
ags_audio_unit_devout_test_flags ()
gboolean ags_audio_unit_devout_test_flags (AgsAudioUnitDevout *audio_unit_devout
,);
guint flags
Test flags
to be set on audio_unit_devout
.
Since:
ags_audio_unit_devout_set_flags ()
void ags_audio_unit_devout_set_flags (AgsAudioUnitDevout *audio_unit_devout
,);
guint flags
Enable a feature of audio_unit_devout
.
Since:
ags_audio_unit_devout_unset_flags ()
void ags_audio_unit_devout_unset_flags (AgsAudioUnitDevout *audio_unit_devout
,);
guint flags
Disable a feature of audio_unit_devout
.
Since:
ags_audio_unit_devout_switch_buffer_flag ()
void ags_audio_unit_devout_switch_buffer_flag (AgsAudioUnitDevout *audio_unit_devout
);
The buffer flag indicates the currently played buffer.
Since:
ags_audio_unit_devout_adjust_delay_and_attack ()
void ags_audio_unit_devout_adjust_delay_and_attack (AgsAudioUnitDevout *audio_unit_devout
);
Calculate delay and attack and reset it.
Since:
ags_audio_unit_devout_realloc_buffer ()
void ags_audio_unit_devout_realloc_buffer (AgsAudioUnitDevout *audio_unit_devout
);
Reallocate the internal audio buffer.
Since:
ags_audio_unit_devout_new ()
AgsAudioUnitDevout * ags_audio_unit_devout_new ();
Creates a new instance of AgsAudioUnitDevout.
Since:
AGS_AUDIO_UNIT_DEVOUT()
#define AGS_AUDIO_UNIT_DEVOUT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUDIO_UNIT_DEVOUT, AgsAudioUnitDevout))
AGS_AUDIO_UNIT_DEVOUT_CLASS()
#define AGS_AUDIO_UNIT_DEVOUT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_AUDIO_UNIT_DEVOUT, AgsAudioUnitDevout))
AGS_AUDIO_UNIT_DEVOUT_GET_CLASS()
#define AGS_AUDIO_UNIT_DEVOUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_AUDIO_UNIT_DEVOUT, AgsAudioUnitDevoutClass))
AGS_IS_AUDIO_UNIT_DEVOUT()
#define AGS_IS_AUDIO_UNIT_DEVOUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUDIO_UNIT_DEVOUT))
Types and Values
enum AgsAudioUnitDevoutFlags
Enum values to control the behavior or indicate internal state of AgsAudioUnitDevout by enable/disable as flags.
Members
the core-audio devout was added to registry, see |
||
indicates the core-audio devout was connected by calling |
||
ring-buffer 0 |
||
ring-buffer 1 |
||
ring-buffer 2 |
||
ring-buffer 3 |
||
ring-buffer 4 |
||
ring-buffer 5 |
||
ring-buffer 6 |
||
ring-buffer 7 |
||
use first attack, instead of second one |
||
do playback |
||
stop playback |
||
playback starting |
||
do non-blocking calls |
||
the soundcard was initialized |
enum AgsAudioUnitDevoutSyncFlags
Enum values to control the synchronization between soundcard and client.
AGS_AUDIO_UNIT_DEVOUT_ERROR
#define AGS_AUDIO_UNIT_DEVOUT_ERROR (ags_audio_unit_devout_error_quark())
Property Details
The “attack”
property
“attack”gpointer
Attack of the buffer
Owner: AgsAudioUnitDevout
Flags: Read
Since:
The “audio-unit-client”
property
“audio-unit-client” AgsAudioUnitClient *
The assigned AgsAudioUnitClient
Owner: AgsAudioUnitDevout
Flags: Read / Write
Since:
The “audio-unit-port”
property
“audio-unit-port”gpointer
The assigned AgsAudioUnitPort
Owner: AgsAudioUnitDevout
Flags: Read / Write
Since:
The “bpm”
property
“bpm”gdouble
Beats per minute
Owner: AgsAudioUnitDevout
Flags: Read / Write
Allowed values: [1,240]
Default value: 120
Since:
The “buffer”
property
“buffer”gpointer
The buffer
Owner: AgsAudioUnitDevout
Flags: Read
Since:
The “buffer-size”
property
“buffer-size”guint
The buffer size
Owner: AgsAudioUnitDevout
Flags: Read / Write
Allowed values: [1,44100]
Default value: 940
Since:
The “delay-factor”
property
“delay-factor”gdouble
tact
Owner: AgsAudioUnitDevout
Flags: Read / Write
Allowed values: [0,16]
Default value: 1
Since:
The “device”
property
“device”gchar *
The audio unit soundcard indentifier
Owner: AgsAudioUnitDevout
Flags: Read / Write
Default value: "ags-audio-unit-devout-0"
Since:
The “dsp-channels”
property
“dsp-channels”guint
The dsp channel count
Owner: AgsAudioUnitDevout
Flags: Read / Write
Allowed values: [1,64]
Default value: 2
Since:
The “format”
property
“format”guint
The precision of the buffer
Owner: AgsAudioUnitDevout
Flags: Read / Write
Allowed values: [1,64]
Default value: 16
Since:
The “pcm-channels”
property
“pcm-channels”guint
The pcm channel count
Owner: AgsAudioUnitDevout
Flags: Read / Write
Allowed values: [1,64]
Default value: 2
Since: