Top |
#define | AGS_CORE_AUDIO_PORT_GET_OBJ_MUTEX() |
gboolean | ags_core_audio_port_test_flags () |
void | ags_core_audio_port_set_flags () |
void | ags_core_audio_port_unset_flags () |
GList * | ags_core_audio_port_find () |
void | ags_core_audio_port_register () |
void | ags_core_audio_port_unregister () |
void | ags_core_audio_port_set_format () |
void | ags_core_audio_port_set_samplerate () |
void | ags_core_audio_port_set_pcm_channels () |
void | ags_core_audio_port_set_buffer_size () |
void | ags_core_audio_port_set_cache_buffer_size () |
guint | ags_core_audio_port_get_latency () |
AgsCoreAudioPort * | ags_core_audio_port_new () |
AgsCoreAudioClient * | core-audio-client | Read / Write |
GObject * | core-audio-device | Read / Write |
char * | port-name | Read / Write |
The AgsCoreAudioPort represents either a core audio sequencer or soundcard to communicate with.
#define AGS_CORE_AUDIO_PORT_GET_OBJ_MUTEX(obj) (&(((AgsCoreAudioPort *) obj)->obj_mutex))
gboolean ags_core_audio_port_test_flags (AgsCoreAudioPort *core_audio_port
,AgsCoreAudioPortFlags flags
);
Test flags
to be set on core_audio_port
.
Since: 3.0.0
void ags_core_audio_port_set_flags (AgsCoreAudioPort *core_audio_port
,AgsCoreAudioPortFlags flags
);
Enable a feature of core_audio_port
.
Since: 3.0.0
void ags_core_audio_port_unset_flags (AgsCoreAudioPort *core_audio_port
,AgsCoreAudioPortFlags flags
);
Disable a feature of core_audio_port
.
Since: 3.0.0
GList * ags_core_audio_port_find (GList *core_audio_port
,gchar *port_name
);
Finds next match of port_name
in core_audio_port
.
core_audio_port |
the GList containing AgsCoreAudioPort. |
[element-type AgsAudio.CoreAudioPort][transfer none] |
port_name |
the port name to find |
Since: 3.0.0
void ags_core_audio_port_register (AgsCoreAudioPort *core_audio_port
,gchar *port_name
,gboolean is_audio
,gboolean is_midi
,gboolean is_output
);
Register a new core audio port and read uuid. Creates a new AgsSequencer or AgsSoundcard object.
core_audio_port |
the AgsCoreAudioPort |
|
port_name |
the name as string |
|
is_audio |
if |
|
is_midi |
if |
|
is_output |
if |
Since: 3.0.0
void
ags_core_audio_port_unregister (AgsCoreAudioPort *core_audio_port
);
void ags_core_audio_port_set_format (AgsCoreAudioPort *core_audio_port
,AgsSoundcardFormat format
);
void ags_core_audio_port_set_samplerate (AgsCoreAudioPort *core_audio_port
,guint samplerate
);
void ags_core_audio_port_set_pcm_channels (AgsCoreAudioPort *core_audio_port
,guint pcm_channels
);
void ags_core_audio_port_set_buffer_size (AgsCoreAudioPort *core_audio_port
,guint buffer_size
);
void ags_core_audio_port_set_cache_buffer_size (AgsCoreAudioPort *core_audio_port
,guint cache_buffer_size
);
guint
ags_core_audio_port_get_latency (AgsCoreAudioPort *core_audio_port
);
Gets latency.
Since: 3.0.0
AgsCoreAudioPort *
ags_core_audio_port_new (GObject *core_audio_client
);
Create a new instance of AgsCoreAudioPort.
Since: 3.0.0
#define AGS_CORE_AUDIO_PORT_DEFAULT_CACHE_BUFFER_SIZE (4096)
Enum values to control the behavior or indicate internal state of AgsCoreAudioPort by enable/disable as flags.
“core-audio-client”
property“core-audio-client” AgsCoreAudioClient *
The assigned AgsCoreAudioClient.
Owner: AgsCoreAudioPort
Flags: Read / Write
Since: 3.0.0
“core-audio-device”
property “core-audio-device” GObject *
The assigned AgsCoreAudioDevout.
Owner: AgsCoreAudioPort
Flags: Read / Write
Since: 3.0.0