Top |
#define | AGS_PULSE_PORT_GET_OBJ_MUTEX() |
gboolean | ags_pulse_port_test_flags () |
void | ags_pulse_port_set_flags () |
void | ags_pulse_port_unset_flags () |
GList * | ags_pulse_port_find () |
void | ags_pulse_port_register () |
void | ags_pulse_port_unregister () |
guint | ags_pulse_port_get_fixed_size () |
void | ags_pulse_port_set_samplerate () |
void | ags_pulse_port_set_pcm_channels () |
void | ags_pulse_port_set_buffer_size () |
void | ags_pulse_port_set_format () |
void | ags_pulse_port_set_cache_buffer_size () |
guint | ags_pulse_port_get_latency () |
AgsPulsePort * | ags_pulse_port_new () |
char * | port-name | Read / Write |
AgsPulseClient * | pulse-client | Read / Write |
AgsPulseDevin * | pulse-devin | Read / Write |
AgsPulseDevout * | pulse-devout | Read / Write |
#define | AGS_PULSE_PORT_DEFAULT_CACHE_COUNT |
#define | AGS_PULSE_PORT_DEFAULT_CACHE_BUFFER_SIZE |
enum | AgsPulsePortFlags |
The AgsPulsePort represents either a pulseaudio sequencer or soundcard to communicate with.
#define AGS_PULSE_PORT_GET_OBJ_MUTEX(obj) (&(((AgsPulsePort *) obj)->obj_mutex))
gboolean ags_pulse_port_test_flags (AgsPulsePort *pulse_port
,guint flags
);
Test flags
to be set on pulse_port
.
Since: 3.0.0
void ags_pulse_port_set_flags (AgsPulsePort *pulse_port
,guint flags
);
Enable a feature of pulse_port
.
Since: 3.0.0
void ags_pulse_port_unset_flags (AgsPulsePort *pulse_port
,guint flags
);
Disable a feature of pulse_port
.
Since: 3.0.0
GList * ags_pulse_port_find (GList *pulse_port
,gchar *port_name
);
Finds next match of port_name
in pulse_port
.
pulse_port |
the GList containig AgsPulsePort. |
[element-type AgsAudio.PulsePort][transfer none] |
port_name |
the port name to find |
Since: 3.0.0
void ags_pulse_port_register (AgsPulsePort *pulse_port
,gchar *port_name
,gboolean is_audio
,gboolean is_midi
,gboolean is_output
);
Register a new pulseaudio port and read uuid. Creates a new AgsSequencer or AgsSoundcard object.
pulse_port |
the AgsPulsePort |
|
port_name |
the name as string |
|
is_audio |
if |
|
is_midi |
if |
|
is_output |
if |
Since: 3.0.0
void ags_pulse_port_set_samplerate (AgsPulsePort *pulse_port
,guint samplerate
);
void ags_pulse_port_set_pcm_channels (AgsPulsePort *pulse_port
,guint pcm_channels
);
void ags_pulse_port_set_buffer_size (AgsPulsePort *pulse_port
,guint buffer_size
);
void ags_pulse_port_set_format (AgsPulsePort *pulse_port
,guint format
);
void ags_pulse_port_set_cache_buffer_size (AgsPulsePort *pulse_port
,guint cache_buffer_size
);
guint
ags_pulse_port_get_latency (AgsPulsePort *pulse_port
);
Gets latency.
Since: 3.0.0
AgsPulsePort *
ags_pulse_port_new (GObject *pulse_client
);
Create a new instance of AgsPulsePort.
Since: 3.0.0
Enum values to control the behavior or indicate internal state of AgsPulsePort by enable/disable as flags.
“port-name”
property “port-name” char *
The pulse soundcard indentifier
Owner: AgsPulsePort
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“pulse-client”
property“pulse-client” AgsPulseClient *
The assigned AgsPulseClient.
Owner: AgsPulsePort
Flags: Read / Write
Since: 3.0.0
“pulse-devin”
property“pulse-devin” AgsPulseDevin *
The assigned AgsPulseDevout.
Owner: AgsPulsePort
Flags: Read / Write
Since: 3.0.0
“pulse-devout”
property“pulse-devout” AgsPulseDevout *
The assigned AgsPulseDevout.
Owner: AgsPulsePort
Flags: Read / Write
Since: 3.0.0