Class
AgsAudioChannel
Description
class AgsAudio.Channel : GObject.Object
implements Ags.Connectable {
flags: AgsChannelFlags,
connectable_flags: AgsConnectableFlags,
ability_flags: AgsSoundAbilityFlags,
behaviour_flags: AgsSoundBehaviourFlags,
staging_flags: None,
staging_completed: None,
obj_mutex: GRecMutex,
uuid: AgsUUID*,
audio: GObject*,
output_soundcard: GObject*,
output_soundcard_channel: gint,
input_soundcard: GObject*,
input_soundcard_channel: gint,
samplerate: guint,
buffer_size: guint,
format: AgsSoundcardFormat,
pad: guint,
audio_channel: guint,
line: guint,
octave: gint,
key: guint,
absolute_key: gint,
note_frequency: gdouble,
note_key: gchar*,
midi_note: guint,
prev: AgsChannel*,
prev_pad: AgsChannel*,
next: AgsChannel*,
next_pad: AgsChannel*,
link: AgsChannel*,
first_recycling: AgsRecycling*,
last_recycling: AgsRecycling*,
playback: GObject*,
pattern: GList*,
recall_id: GList*,
recycling_context: GList*,
recall_container: GList*,
play_mutex: GRecMutex,
play: GList*,
recall_mutex: GRecMutex,
recall: GList*,
line_widget: gpointer,
file_data: gpointer
}
No description available.
Instance methods
ags_channel_collect_all_channel_ports_by_specifier_and_context
Retrieve specified port of AgsChannel
.
since: 3.0.0
ags_channel_init_recall
Prepare AgsRecall
objects and invoke AgsRecall::run-init-pre
, AgsRecall::run-init-inter
or
AgsRecall::run-init-post
as specified by staging_flags
.
since: 3.0.0
ags_channel_recursive_run_stage
Recursive run stage specified by staging_flags
for matching sound_scope
.
since: 3.0.0
ags_channel_reset_recycling
Called by ags_channel_set_link()
to handle outdated AgsRecycling
references.
Invoke only by a task.
since: 3.0.0
ags_channel_set_link
Change the linking of AgsChannel
objects. Sets link, calls ags_channel_reset_recycling().
Further it does loop detection and makes your machine running.
since: 3.0.0
Methods inherited from AgsConnectable (13)
ags_connectable_add_to_registry
Add connectable to registry.
ags_connectable_connect
Connect the connectable.
ags_connectable_connect_connection
Disconnect the connectable.
ags_connectable_disconnect
Disconnect the connectable.
ags_connectable_disconnect_connection
Disconnect the connectable.
ags_connectable_get_uuid
Get UUID of connectable
.
ags_connectable_has_resource
Check the connectable to have resources.
ags_connectable_is_connected
Check if the connectable
was connected.
ags_connectable_is_ready
Connect the connectable.
ags_connectable_list_resource
List resources as an XML element and return it.
ags_connectable_remove_from_registry
Remove connectable from registry.
ags_connectable_xml_compose
Compose an XML element and return it.
ags_connectable_xml_parse
Parse node
as XML element and apply it.
Properties
AgsAudio.Channel:first-recycling
The containing AgsRecycling
it takes it AgsAudioSignal
from.
since: 3.0.0
AgsAudio.Channel:last-recycling
The containing AgsRecycling
it takes it AgsAudioSignal
from.
since: 3.0.0
Signals
AgsAudio.Channel::cancel-recall
The ::cancel-recall signal is invoked during termination of playback.
since: 3.0.0
AgsAudio.Channel::check-scope
The ::check-scope signal gives you control of checking scope.
since: 3.0.0
AgsAudio.Channel::cleanup-recall
The ::cleanup-recall signal is invoked during termination of playback.
since: 3.0.0
AgsAudio.Channel::done-recall
The ::done-recall signal is invoked during termination of playback.
since: 3.0.0
AgsAudio.Channel::duplicate-recall
The ::duplicate-recall signal is invoked during playback initialization.
since: 3.0.0
AgsAudio.Channel::init-recall
The ::init-recall signal is invoked during playback initialization.
since: 3.0.0
AgsAudio.Channel::recursive-run-stage
The ::recursive-run-stage signal gives you control of checking scope.
since: 3.0.0
AgsAudio.Channel::recycling-changed
The ::recycling-changed signal is invoked to notify modified recycling tree.
since: 3.0.0
AgsAudio.Channel::resolve-recall
The ::resolve-recall signal is invoked during playback initialization.
since: 3.0.0
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct AgsAudioChannelClass {
GObjectClass gobject;
void (* recycling_changed) (
AgsChannel* channel,
AgsRecycling* old_start_region,
AgsRecycling* old_end_region,
AgsRecycling* new_start_region,
AgsRecycling* new_end_region,
AgsRecycling* old_start_changed_region,
AgsRecycling* old_end_changed_region,
AgsRecycling* new_start_changed_region,
AgsRecycling* new_end_changed_region
);
void (* duplicate_recall) (
AgsChannel* channel,
AgsRecallID* recall_id
);
void (* resolve_recall) (
AgsChannel* channel,
AgsRecallID* recall_id
);
void (* init_recall) (
AgsChannel* channel,
AgsRecallID* recall_id,
AgsSoundStagingFlags staging_flags
);
void (* play_recall) (
AgsChannel* channel,
AgsRecallID* recall_id,
AgsSoundStagingFlags staging_flags
);
void (* done_recall) (
AgsChannel* channel,
AgsRecallID* recall_id
);
void (* cancel_recall) (
AgsChannel* channel,
AgsRecallID* recall_id
);
void (* cleanup_recall) (
AgsChannel* channel,
AgsRecallID* recall_id
);
GList* (* start) (
AgsChannel* channel,
gint sound_scope
);
void (* stop) (
AgsChannel* channel,
GList* recall_id,
gint sound_scope
);
GList* (* check_scope) (
AgsChannel* channel,
gint sound_scope
);
void (* recursive_run_stage) (
AgsChannel* channel,
gint sound_scope,
AgsSoundStagingFlags staging_flags
);
}
No description available.
Class members
gobject: GObjectClass
No description available.
recycling_changed: void (* recycling_changed) ( AgsChannel* channel, AgsRecycling* old_start_region, AgsRecycling* old_end_region, AgsRecycling* new_start_region, AgsRecycling* new_end_region, AgsRecycling* old_start_changed_region, AgsRecycling* old_end_changed_region, AgsRecycling* new_start_changed_region, AgsRecycling* new_end_changed_region )
No description available.
duplicate_recall: void (* duplicate_recall) ( AgsChannel* channel, AgsRecallID* recall_id )
No description available.
resolve_recall: void (* resolve_recall) ( AgsChannel* channel, AgsRecallID* recall_id )
No description available.
init_recall: void (* init_recall) ( AgsChannel* channel, AgsRecallID* recall_id, AgsSoundStagingFlags staging_flags )
No description available.
play_recall: void (* play_recall) ( AgsChannel* channel, AgsRecallID* recall_id, AgsSoundStagingFlags staging_flags )
No description available.
done_recall: void (* done_recall) ( AgsChannel* channel, AgsRecallID* recall_id )
No description available.
cancel_recall: void (* cancel_recall) ( AgsChannel* channel, AgsRecallID* recall_id )
No description available.
cleanup_recall: void (* cleanup_recall) ( AgsChannel* channel, AgsRecallID* recall_id )
No description available.
start: GList* (* start) ( AgsChannel* channel, gint sound_scope )
No description available.
stop: void (* stop) ( AgsChannel* channel, GList* recall_id, gint sound_scope )
No description available.
check_scope: GList* (* check_scope) ( AgsChannel* channel, gint sound_scope )
No description available.
recursive_run_stage: void (* recursive_run_stage) ( AgsChannel* channel, gint sound_scope, AgsSoundStagingFlags staging_flags )
No description available.
Virtual methods
AgsAudio.ChannelClass.duplicate_recall
Duplicate AgsRecall
template and assign recall_id
to it.
since: 3.0.0
AgsAudio.ChannelClass.init_recall
Prepare AgsRecall
objects and invoke AgsRecall::run-init-pre
, AgsRecall::run-init-inter
or
AgsRecall::run-init-post
as specified by staging_flags
.
since: 3.0.0
AgsAudio.ChannelClass.recursive_run_stage
Recursive run stage specified by staging_flags
for matching sound_scope
.
since: 3.0.0