Class

AgsAudioAudioLoop

Description

class AgsAudio.AudioLoop : Ags.Thread
  implements Ags.Connectable, Ags.MainLoop {
  flags: AgsAudioLoopFlags,
  tree_lock: GRecMutex,
  is_syncing: volatile gboolean,
  is_critical_region: volatile gboolean,
  critical_region_ref: volatile guint,
  play_channel_ref: guint,
  play_channel: GList*,
  play_audio_ref: guint,
  play_audio: GList*,
  sync_thread: GList*,
  do_fx_staging: gboolean,
  staging_program: guint*,
  staging_program_count: guint
}

No description available.

Ancestors

Constructors

ags_audio_loop_new

Create a new AgsAudioLoop.

since: 3.0.0

Instance methods

ags_audio_loop_add_audio

Add audio for playback.

since: 3.0.0

ags_audio_loop_add_channel

Add channel for playback.

since: 3.0.0

ags_audio_loop_get_do_fx_staging

Get do fx staging.

since: 3.3.0

ags_audio_loop_get_staging_program

Get staging program.

since: 3.3.0

ags_audio_loop_remove_audio

Remove audio of playback.

since: 3.0.0

ags_audio_loop_remove_channel

Remove channel of playback.

since: 3.0.0

ags_audio_loop_set_do_fx_staging

Set do fx staging.

since: 3.3.0

ags_audio_loop_set_flags

Set flags.

since: 3.0.0

ags_audio_loop_set_staging_program

Set staging program.

since: 3.3.0

ags_audio_loop_test_flags

Test flags to be set on audio_loop.

since: 3.0.0

ags_audio_loop_unset_flags

Unset flags.

since: 3.0.0

Methods inherited from AgsThread (45)

Please see AgsThread for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

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.

Methods inherited from AgsMainLoop (9)
ags_main_loop_change_frequency

Change frequency.

ags_main_loop_dec_queued_critical_region

Decrement thread needs access to main loop’s critical region field.

ags_main_loop_get_tree_lock

Retrieve the tree mutex.

ags_main_loop_inc_queued_critical_region

Increment thread needs access to main loop’s critical region field.

ags_main_loop_is_critical_region

Check if main loop is in critical region.

ags_main_loop_is_syncing

Check if thread tree is syncing.

ags_main_loop_set_critical_region

Set main loop is in critical region.

ags_main_loop_set_syncing

Set thread tree is syncing.

ags_main_loop_test_queued_critical_region

Test main loop may enter critical region.

Properties

AgsAudio.AudioLoop:play-audio

An AgsAudio to add for playback.

since: 3.0.0

AgsAudio.AudioLoop:play-channel

An AgsChannel to add for playback.

since: 3.0.0

Properties inherited from AgsThread (3)
Ags.Thread:delay

The delay until next tic.

Ags.Thread:frequency

The frequency to run at in Hz.

Ags.Thread:max-precision

The max-frequency to run at in Hz.

Signals

Signals inherited from AgsThread (4)
AgsThread::clock

The ::clock() signal is invoked every thread tic.

AgsThread::run

The ::run() signal is invoked during run loop.

AgsThread::start

The ::start() signal is invoked as thread started.

AgsThread::stop

The ::stop() signal is invoked as thread stopped.

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.

Signals inherited from AgsMainLoop (1)
AgsMainLoop::change-frequency

Change frequency.

Class structure

struct AgsAudioAudioLoopClass {
  AgsThreadClass thread;
  
}

No description available.

Class members
thread: AgsThreadClass

No description available.