Top |
Functions
#define | AGS_PULSE_PORT_GET_OBJ_MUTEX() |
|
ags_pulse_port_test_flags () |
|
ags_pulse_port_set_flags () |
|
ags_pulse_port_unset_flags () |
|
ags_pulse_port_find () |
|
ags_pulse_port_register () |
|
ags_pulse_port_unregister () |
|
ags_pulse_port_get_fixed_size () |
|
ags_pulse_port_set_samplerate () |
|
ags_pulse_port_set_pcm_channels () |
|
ags_pulse_port_set_buffer_size () |
|
ags_pulse_port_set_format () |
|
ags_pulse_port_set_cache_buffer_size () |
|
ags_pulse_port_get_latency () |
AgsPulsePort * | ags_pulse_port_new () |
#define | AGS_IS_PULSE_PORT() |
#define | AGS_IS_PULSE_PORT_CLASS() |
#define | AGS_PULSE_PORT() |
#define | AGS_PULSE_PORT_CLASS() |
#define | AGS_PULSE_PORT_GET_CLASS() |
|
ags_pulse_port_get_type () |
Properties
|
port-name | Read / Write |
AgsPulseClient * | pulse-client | Read / Write |
AgsPulseDevin * | pulse-devin | Read / Write |
AgsPulseDevout * | pulse-devout | Read / Write |
Types and Values
#define | AGS_PULSE_PORT_DEFAULT_CACHE_BUFFER_SIZE |
enum | AgsPulsePortFlags |
#define | AGS_TYPE_PULSE_PORT |
struct | AgsPulsePort |
struct | AgsPulsePortClass |
Description
The AgsPulsePort represents either a pulseaudio sequencer or soundcard to communicate with.
Functions
AGS_PULSE_PORT_GET_OBJ_MUTEX()
#define AGS_PULSE_PORT_GET_OBJ_MUTEX(obj) (&(((AgsPulsePort *) obj)->obj_mutex))
ags_pulse_port_test_flags ()
gboolean ags_pulse_port_test_flags (AgsPulsePort *pulse_port
,);
guint flags
Test flags
to be set on pulse_port
.
Since:
ags_pulse_port_set_flags ()
void ags_pulse_port_set_flags (AgsPulsePort *pulse_port
,);
guint flags
Enable a feature of pulse_port
.
Since:
ags_pulse_port_unset_flags ()
void ags_pulse_port_unset_flags (AgsPulsePort *pulse_port
,);
guint flags
Disable a feature of pulse_port
.
Since:
ags_pulse_port_find ()
GList * ags_pulse_port_find (,
GList *pulse_port);
gchar *port_name
Finds next match of port_name
in pulse_port
.
Parameters
pulse_port |
the |
[element-type AgsAudio.PulsePort][transfer none] |
port_name |
the port name to find |
Since:
ags_pulse_port_register ()
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.
Parameters
pulse_port |
the AgsPulsePort |
|
port_name |
the name as string |
|
is_audio |
if |
|
is_midi |
if |
|
is_output |
if |
Since:
ags_pulse_port_set_samplerate ()
void ags_pulse_port_set_samplerate (AgsPulsePort *pulse_port
,);
guint samplerate
ags_pulse_port_set_pcm_channels ()
void ags_pulse_port_set_pcm_channels (AgsPulsePort *pulse_port
,);
guint pcm_channels
ags_pulse_port_set_buffer_size ()
void ags_pulse_port_set_buffer_size (AgsPulsePort *pulse_port
,);
guint buffer_size
ags_pulse_port_set_format ()
void ags_pulse_port_set_format (AgsPulsePort *pulse_port
,);
guint format
ags_pulse_port_set_cache_buffer_size ()
void ags_pulse_port_set_cache_buffer_size (AgsPulsePort *pulse_port
,);
guint cache_buffer_size
ags_pulse_port_get_latency ()
guint ags_pulse_port_get_latency (AgsPulsePort *pulse_port
);
Gets latency.
Since:
ags_pulse_port_new ()
AgsPulsePort *
ags_pulse_port_new (GObject *pulse_client
);
Create a new instance of AgsPulsePort.
Since:
AGS_IS_PULSE_PORT()
#define AGS_IS_PULSE_PORT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PULSE_PORT))
AGS_IS_PULSE_PORT_CLASS()
#define AGS_IS_PULSE_PORT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_PULSE_PORT))
AGS_PULSE_PORT()
#define AGS_PULSE_PORT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PULSE_PORT, AgsPulsePort))
AGS_PULSE_PORT_CLASS()
#define AGS_PULSE_PORT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_PULSE_PORT, AgsPulsePort))
AGS_PULSE_PORT_GET_CLASS()
#define AGS_PULSE_PORT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_PULSE_PORT, AgsPulsePortClass))
Types and Values
enum AgsPulsePortFlags
Enum values to control the behavior or indicate internal state of AgsPulsePort by enable/disable as flags.
Property Details
The “port-name”
property
“port-name”gchar *
The pulse soundcard indentifier
Owner: AgsPulsePort
Flags: Read / Write
Default value: NULL
Since:
The “pulse-client”
property
“pulse-client” AgsPulseClient *
The assigned AgsPulseClient.
Owner: AgsPulsePort
Flags: Read / Write
Since:
The “pulse-devin”
property
“pulse-devin” AgsPulseDevin *
The assigned AgsPulseDevout.
Owner: AgsPulsePort
Flags: Read / Write
Since:
The “pulse-devout”
property
“pulse-devout” AgsPulseDevout *
The assigned AgsPulseDevout.
Owner: AgsPulsePort
Flags: Read / Write
Since: