Top |
Functions
#define | AGS_AUDIO_UNIT_PORT_GET_OBJ_MUTEX() |
|
ags_audio_unit_port_test_flags () |
|
ags_audio_unit_port_set_flags () |
|
ags_audio_unit_port_unset_flags () |
|
ags_audio_unit_port_find () |
|
ags_audio_unit_port_register () |
|
ags_audio_unit_port_unregister () |
|
ags_audio_unit_port_set_format () |
|
ags_audio_unit_port_set_samplerate () |
|
ags_audio_unit_port_set_pcm_channels () |
|
ags_audio_unit_port_set_buffer_size () |
AgsAudioUnitPort * | ags_audio_unit_port_new () |
#define | AGS_AUDIO_UNIT_PORT() |
#define | AGS_AUDIO_UNIT_PORT_CLASS() |
#define | AGS_AUDIO_UNIT_PORT_GET_CLASS() |
#define | AGS_IS_AUDIO_UNIT_PORT() |
|
ags_audio_unit_port_get_type () |
Properties
AgsAudioUnitClient * | audio-unit-client | Read / Write |
|
audio-unit-device | Read / Write |
|
port-name | Read / Write |
Types and Values
#define | AGS_AUDIO_UNIT_PORT_DEFAULT_CACHE_BUFFER_SIZE |
enum | AgsAudioUnitPortFlags |
#define | AGS_TYPE_AUDIO_UNIT_PORT |
struct | AgsAudioUnitPort |
struct | AgsAudioUnitPortClass |
Description
The AgsAudioUnitPort represents either a core audio sequencer or soundcard to communicate with.
Functions
AGS_AUDIO_UNIT_PORT_GET_OBJ_MUTEX()
#define AGS_AUDIO_UNIT_PORT_GET_OBJ_MUTEX(obj) (&(((AgsAudioUnitPort *) obj)->obj_mutex))
ags_audio_unit_port_test_flags ()
gboolean ags_audio_unit_port_test_flags (AgsAudioUnitPort *audio_unit_port
,);
guint flags
Test flags
to be set on audio_unit_port
.
Since:
ags_audio_unit_port_set_flags ()
void ags_audio_unit_port_set_flags (AgsAudioUnitPort *audio_unit_port
,);
guint flags
Enable a feature of audio_unit_port
.
Since:
ags_audio_unit_port_unset_flags ()
void ags_audio_unit_port_unset_flags (AgsAudioUnitPort *audio_unit_port
,);
guint flags
Disable a feature of audio_unit_port
.
Since:
ags_audio_unit_port_find ()
GList * ags_audio_unit_port_find (,
GList *audio_unit_port);
gchar *port_name
Finds next match of port_name
in audio_unit_port
.
Parameters
audio_unit_port |
the |
[element-type AgsAudio.AudioUnitPort][transfer none] |
port_name |
the port name to find |
Since:
ags_audio_unit_port_register ()
void ags_audio_unit_port_register (AgsAudioUnitPort *audio_unit_port
,,
gchar *port_name,
gboolean is_audio,
gboolean is_midi);
gboolean is_output
ags_audio_unit_port_unregister ()
void ags_audio_unit_port_unregister (AgsAudioUnitPort *audio_unit_port
);
ags_audio_unit_port_set_format ()
void ags_audio_unit_port_set_format (AgsAudioUnitPort *audio_unit_port
,);
guint format
ags_audio_unit_port_set_samplerate ()
void ags_audio_unit_port_set_samplerate (AgsAudioUnitPort *audio_unit_port
,);
guint samplerate
ags_audio_unit_port_set_pcm_channels ()
void ags_audio_unit_port_set_pcm_channels (AgsAudioUnitPort *audio_unit_port
,);
guint pcm_channels
ags_audio_unit_port_set_buffer_size ()
void ags_audio_unit_port_set_buffer_size (AgsAudioUnitPort *audio_unit_port
,);
guint buffer_size
ags_audio_unit_port_new ()
AgsAudioUnitPort *
ags_audio_unit_port_new (GObject *audio_unit_client
);
Create a new instance of AgsAudioUnitPort.
Since:
AGS_AUDIO_UNIT_PORT()
#define AGS_AUDIO_UNIT_PORT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUDIO_UNIT_PORT, AgsAudioUnitPort))
AGS_AUDIO_UNIT_PORT_CLASS()
#define AGS_AUDIO_UNIT_PORT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_AUDIO_UNIT_PORT, AgsAudioUnitPort))
AGS_AUDIO_UNIT_PORT_GET_CLASS()
#define AGS_AUDIO_UNIT_PORT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_AUDIO_UNIT_PORT, AgsAudioUnitPortClass))
AGS_IS_AUDIO_UNIT_PORT()
#define AGS_IS_AUDIO_UNIT_PORT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUDIO_UNIT_PORT))
Types and Values
AGS_AUDIO_UNIT_PORT_DEFAULT_CACHE_BUFFER_SIZE
#define AGS_AUDIO_UNIT_PORT_DEFAULT_CACHE_BUFFER_SIZE (4096)
enum AgsAudioUnitPortFlags
Enum values to control the behavior or indicate internal state of AgsAudioUnitPort by enable/disable as flags.
Property Details
The “audio-unit-client”
property
“audio-unit-client” AgsAudioUnitClient *
The assigned AgsAudioUnitClient.
Owner: AgsAudioUnitPort
Flags: Read / Write
Since:
The “audio-unit-device”
property
“audio-unit-device”GObject *
The assigned AgsAudioUnitDevout.
Owner: AgsAudioUnitPort
Flags: Read / Write
Since: