Top |
#define | AGS_GSTREAMER_PORT_GET_OBJ_MUTEX() |
gboolean | ags_gstreamer_port_test_flags () |
void | ags_gstreamer_port_set_flags () |
void | ags_gstreamer_port_unset_flags () |
GList * | ags_gstreamer_port_find () |
void | ags_gstreamer_port_register () |
void | ags_gstreamer_port_unregister () |
guint | ags_gstreamer_port_get_fixed_size () |
void | ags_gstreamer_port_set_samplerate () |
void | ags_gstreamer_port_set_pcm_channels () |
void | ags_gstreamer_port_set_buffer_size () |
void | ags_gstreamer_port_set_format () |
void | ags_gstreamer_port_set_cache_buffer_size () |
guint | ags_gstreamer_port_get_latency () |
AgsGstreamerPort * | ags_gstreamer_port_new () |
AgsGstreamerClient * | gstreamer-client | Read / Write |
AgsGstreamerDevin * | gstreamer-devin | Read / Write |
AgsGstreamerDevout * | gstreamer-devout | Read / Write |
char * | port-name | Read / Write |
The AgsGstreamerPort represents either a gstreamer sequencer or soundcard to communicate with.
#define AGS_GSTREAMER_PORT_GET_OBJ_MUTEX(obj) (&(((AgsGstreamerPort *) obj)->obj_mutex))
gboolean ags_gstreamer_port_test_flags (AgsGstreamerPort *gstreamer_port
,AgsGstreamerPortFlags flags
);
Test flags
to be set on gstreamer_port
.
Since: 3.6.0
void ags_gstreamer_port_set_flags (AgsGstreamerPort *gstreamer_port
,AgsGstreamerPortFlags flags
);
Enable a feature of gstreamer_port
.
Since: 3.6.0
void ags_gstreamer_port_unset_flags (AgsGstreamerPort *gstreamer_port
,AgsGstreamerPortFlags flags
);
Disable a feature of gstreamer_port
.
Since: 3.6.0
GList * ags_gstreamer_port_find (GList *gstreamer_port
,gchar *port_name
);
Finds next match of port_name
in gstreamer_port
.
gstreamer_port |
the GList containig AgsGstreamerPort. |
[element-type AgsAudio.GstreamerPort][transfer none] |
port_name |
the port name to find |
Since: 3.6.0
void ags_gstreamer_port_register (AgsGstreamerPort *gstreamer_port
,gchar *port_name
,gboolean is_audio
,gboolean is_midi
,gboolean is_output
);
Register a new gstreamer port and read uuid. Creates a new AgsSequencer or AgsSoundcard object.
gstreamer_port |
the AgsGstreamerPort |
|
port_name |
the name as string |
|
is_audio |
if |
|
is_midi |
if |
|
is_output |
if |
Since: 3.6.0
void
ags_gstreamer_port_unregister (AgsGstreamerPort *gstreamer_port
);
guint
ags_gstreamer_port_get_fixed_size (AgsGstreamerPort *gstreamer_port
);
void ags_gstreamer_port_set_samplerate (AgsGstreamerPort *gstreamer_port
,guint samplerate
);
void ags_gstreamer_port_set_pcm_channels (AgsGstreamerPort *gstreamer_port
,guint pcm_channels
);
void ags_gstreamer_port_set_buffer_size (AgsGstreamerPort *gstreamer_port
,guint buffer_size
);
void ags_gstreamer_port_set_format (AgsGstreamerPort *gstreamer_port
,AgsSoundcardFormat format
);
void ags_gstreamer_port_set_cache_buffer_size (AgsGstreamerPort *gstreamer_port
,guint cache_buffer_size
);
guint
ags_gstreamer_port_get_latency (AgsGstreamerPort *gstreamer_port
);
Gets latency.
Since: 3.6.0
AgsGstreamerPort *
ags_gstreamer_port_new (GObject *gstreamer_client
);
Create a new instance of AgsGstreamerPort.
Since: 3.6.0
#define AGS_GSTREAMER_PORT_DEFAULT_CACHE_BUFFER_SIZE (4096)
Enum values to control the behavior or indicate internal state of AgsGstreamerPort by enable/disable as flags.
“gstreamer-client”
property“gstreamer-client” AgsGstreamerClient *
The assigned AgsGstreamerClient.
Owner: AgsGstreamerPort
Flags: Read / Write
Since: 3.6.0
“gstreamer-devin”
property“gstreamer-devin” AgsGstreamerDevin *
The assigned AgsGstreamerDevout.
Owner: AgsGstreamerPort
Flags: Read / Write
Since: 3.6.0
“gstreamer-devout”
property“gstreamer-devout” AgsGstreamerDevout *
The assigned AgsGstreamerDevout.
Owner: AgsGstreamerPort
Flags: Read / Write
Since: 3.6.0