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