AgsTask

AgsTask — Perform operations in a thread safe context.

Functions

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ├── AgsAddAudio
        ├── AgsAddAudioSignal
        ├── AgsAddBulkMember
        ├── AgsAddEffect
        ├── AgsAddLineMember
        ├── AgsAddNote
        ├── AgsAddPointToSelection
        ├── AgsAddRecallContainer
        ├── AgsAddRecall
        ├── AgsAddRegionToSelection
        ├── AgsAppendAudio
        ├── AgsAppendAudioThreaded
        ├── AgsAppendChannel
        ├── AgsAppendRecall
        ├── AgsApplyBpm
        ├── AgsApplyPresets
        ├── AgsApplySequencerLength
        ├── AgsApplySynth
        ├── AgsApplyTact
        ├── AgsApplyWavetable
        ├── AgsAudioSetRecycling
        ├── AgsBlinkCellPatternCursor
        ├── AgsCancelAudio
        ├── AgsCancelChannel
        ├── AgsCancelRecall
        ├── AgsChangeIndicator
        ├── AgsChangeTact
        ├── AgsChannelSetRecycling
        ├── AgsDisplayTact
        ├── AgsExportOutput
        ├── AgsFreeSelection
        ├── AgsInitAudio
        ├── AgsInitChannel
        ├── AgsLinkChannel
        ├── AgsOpenFile
        ├── AgsOpenSf2Sample
        ├── AgsOpenSingleFile
        ├── AgsRemoveAudio
        ├── AgsRemoveAudioSignal
        ├── AgsRemoveNote
        ├── AgsRemovePointFromSelection
        ├── AgsRemoveRecallContainer
        ├── AgsRemoveRecall
        ├── AgsRemoveRegionFromSelection
        ├── AgsResizeAudio
        ├── AgsSaveFile
        ├── AgsScrollOnPlay
        ├── AgsSeekSoundcard
        ├── AgsSetAudioChannels
        ├── AgsSetBufferSize
        ├── AgsSetMuted
        ├── AgsSetOutputDevice
        ├── AgsSetSamplerate
        ├── AgsSimpleFileRead
        ├── AgsSimpleFileWrite
        ├── AgsStartSoundcard
        ├── AgsSwitchBufferFlag
        ├── AgsToggleLed
        ├── AgsTogglePatternBit
        ├── AgsUnrefAudioSignal
        ╰── AgsUpdateBulkMember

Implemented Interfaces

AgsTask implements AgsConnectable.

Includes

#include <ags/thread/ags_task.h>

Description

AgsTask object acts an interceptor in a thread safe context.

Functions

ags_task_launch ()

void
ags_task_launch (AgsTask *task);

Intercept task.

Parameters

task

an AgsTask

 

Since: 0.4


ags_task_failure ()

void
ags_task_failure (AgsTask *task,
                  GError *error);

Signals failure of task.

Parameters

task

an AgsTask

 

error

is NULL on success

 

Since: 0.4


ags_task_new ()

AgsTask *
ags_task_new ();

Creates a AgsTask

Returns

a new AgsTask

Since: 0.4

Types and Values

enum AgsTaskFlags

Members

AGS_TASK_LOCKED

   

Signal Details

The “failure” signal

void
user_function (AgsTask *task,
               gpointer error,
               gpointer user_data)

Flags: Run Last


The “launch” signal

void
user_function (AgsTask *task,
               gpointer user_data)

Flags: Run Last