| Top |
| gboolean | ags_audio_thread_test_status_flags () |
| void | ags_audio_thread_set_status_flags () |
| void | ags_audio_thread_unset_status_flags () |
| void | ags_audio_thread_set_sound_scope () |
| AgsAudioThreadScopeData * | ags_audio_thread_scope_data_alloc () |
| void | ags_audio_thread_scope_data_free () |
| gboolean | ags_audio_thread_get_do_fx_staging () |
| void | ags_audio_thread_set_do_fx_staging () |
| guint * | ags_audio_thread_get_staging_program () |
| void | ags_audio_thread_set_staging_program () |
| AgsAudioThread * | ags_audio_thread_new () |
| #define | AGS_AUDIO_THREAD() |
| #define | AGS_AUDIO_THREAD_CLASS() |
| #define | AGS_AUDIO_THREAD_GET_CLASS() |
| #define | AGS_IS_AUDIO_THREAD() |
| #define | AGS_IS_AUDIO_THREAD_CLASS() |
| GType | ags_audio_thread_get_type () |
| #define | AGS_AUDIO_THREAD_DEFAULT_JIFFIE |
| enum | AgsAudioThreadFlags |
| struct | AgsAudioThreadScopeData |
| #define | AGS_TYPE_AUDIO_THREAD |
| struct | AgsAudioThread |
| struct | AgsAudioThreadClass |
gboolean ags_audio_thread_test_status_flags (AgsAudioThread *audio_thread,guint status_flags);
Test status_flags
of audio_thread
.
Since: 3.0.0
void ags_audio_thread_set_status_flags (AgsAudioThread *audio_thread,guint status_flags);
Set status flags.
Since: 3.0.0
void ags_audio_thread_unset_status_flags (AgsAudioThread *audio_thread,guint status_flags);
Unset status flags.
Since: 3.0.0
void ags_audio_thread_set_sound_scope (AgsAudioThread *audio_thread,gint sound_scope);
Set sound scope.
Since: 3.0.0
AgsAudioThreadScopeData * ags_audio_thread_scope_data_alloc ();
Allocate the AgsAudioThreadScopeData.
Since: 3.3.0
void
ags_audio_thread_scope_data_free (AgsAudioThreadScopeData *scope_data);
Free scope_data
.
Since: 3.3.0
gboolean
ags_audio_thread_get_do_fx_staging (AgsAudioThread *audio_thread);
Get do fx staging.
Since: 3.3.0
void ags_audio_thread_set_do_fx_staging (AgsAudioThread *audio_thread,gboolean do_fx_staging);
Set do fx staging.
Since: 3.3.0
guint * ags_audio_thread_get_staging_program (AgsAudioThread *audio_thread,guint *staging_program_count);
Get staging program.
Since: 3.3.0
void ags_audio_thread_set_staging_program (AgsAudioThread *audio_thread,guint *staging_program,guint staging_program_count);
Set staging program.
audio_thread |
the AgsAudioThread |
|
staging_program |
the staging program. |
[transfer none] |
staging_program_count |
the staging program count |
Since: 3.3.0
AgsAudioThread * ags_audio_thread_new (GObject *default_output_soundcard,GObject *audio);
Create a new instance of AgsAudioThread.
Since: 3.0.0
#define AGS_AUDIO_THREAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUDIO_THREAD, AgsAudioThread))
#define AGS_AUDIO_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_AUDIO_THREAD, AgsAudioThreadClass))
#define AGS_AUDIO_THREAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_AUDIO_THREAD, AgsAudioThreadClass))
#define AGS_IS_AUDIO_THREAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUDIO_THREAD))
#define AGS_IS_AUDIO_THREAD_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_AUDIO_THREAD))
#define AGS_AUDIO_THREAD_DEFAULT_JIFFIE (ceil(AGS_SOUNDCARD_DEFAULT_SAMPLERATE / AGS_SOUNDCARD_DEFAULT_BUFFER_SIZE) + AGS_SOUNDCARD_DEFAULT_OVERCLOCK)
Enum values to control the behavior or indicate internal state of AgsAudioThread by enable/disable as flags.
|
sync done parent thread, initial wait during |
||
|
sync wait parent thread, initial wait during |
||
|
sync done parent thread, signal completed during |
||
|
sync wait parent thread, signal completed during |
struct AgsAudioThreadScopeData {
volatile gboolean fx_done;
volatile guint fx_wait;
GMutex fx_mutex;
GCond fx_cond;
};