AgsRecyclingThread

AgsRecyclingThread

Functions

Properties

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── AgsThread
        ╰── AgsRecyclingThread

Implemented Interfaces

AgsRecyclingThread implements AgsConnectable.

Description

Functions

ags_recycling_thread_worker_alloc ()

AgsRecyclingThreadWorker *
ags_recycling_thread_worker_alloc (AgsRecyclingThread *recycling_thread,
                                   GObject *audio,
                                   GObject *channel,
                                   AgsRecallID *recall_id,
                                   gint stage,
                                   gboolean audio_worker);


ags_recycling_thread_add_worker ()

void
ags_recycling_thread_add_worker (AgsRecyclingThread *recycling_thread,
                                 AgsRecyclingThreadWorker *worker);


ags_recycling_thread_remove_worker ()

void
ags_recycling_thread_remove_worker (AgsRecyclingThread *recycling_thread,
                                    AgsRecyclingThreadWorker *worker);


ags_recycling_thread_play_channel ()

void
ags_recycling_thread_play_channel (AgsRecyclingThread *recycling_thread,
                                   GObject *channel,
                                   AgsRecallID *recall_id,
                                   gint stage);


ags_recycling_thread_play_audio ()

void
ags_recycling_thread_play_audio (AgsRecyclingThread *recycling_thread,
                                 GObject *output,
                                 GObject *audio,
                                 AgsRecallID *recall_id,
                                 gint stage);


ags_recycling_thread_find_child ()

AgsRecyclingThread *
ags_recycling_thread_find_child (AgsRecyclingThread *recycling_thread,
                                 GObject *first_recycling);


ags_recycling_thread_fifo ()

void
ags_recycling_thread_fifo (AgsRecyclingThread *recycling_thread);


ags_recycling_thread_new ()

AgsRecyclingThread *
ags_recycling_thread_new (GObject *first_recycling,
                          GObject *last_recycling);

Types and Values

AGS_RECYCLING_THREAD_DEFAULT_JIFFIE

#define AGS_RECYCLING_THREAD_DEFAULT_JIFFIE (100)


enum AgsRecyclingThreadFlags

Members

AGS_RECYCLING_THREAD_WAIT

   

AGS_RECYCLING_THREAD_DONE

   

AGS_RECYCLING_THREAD_LOCKED

   

AGS_RECYCLING_THREAD_LOCKED_PARENT

   

AGS_RECYCLING_THREAD_WORKER_WAIT

   

AGS_RECYCLING_THREAD_WORKER_DONE

   

struct AgsRecyclingThreadWorker

struct AgsRecyclingThreadWorker {
  AgsRecyclingThread *recycling_thread;

  GObject *audio;
  GObject *channel;

  AgsRecallID *recall_id;
  gint stage;

  gboolean audio_worker;
};

Property Details

The “first-recycling” property

  “first-recycling”          AgsRecycling *

The first recycling to acquire lock.

Flags: Read / Write


The “iterator-thread” property

  “iterator-thread”          AgsIteratorThread *

The iterator thread object it is assigned to.

Flags: Read / Write


The “last-recycling” property

  “last-recycling”           AgsRecycling *

The last recycling to acquire lock.

Flags: Read / Write

Signal Details

The “play-audio” signal

void
user_function (AgsRecyclingThread *agsrecyclingthread,
               GObject            *arg1,
               GObject            *arg2,
               GObject            *arg3,
               GObject            *arg4,
               GObject            *arg5,
               GObject            *arg6,
               guint               arg7,
               gint                arg8,
               gboolean            arg9,
               gpointer            user_data)

Flags: Run Last


The “play-channel” signal

void
user_function (AgsRecyclingThread *agsrecyclingthread,
               GObject            *arg1,
               GObject            *arg2,
               GObject            *arg3,
               gint                arg4,
               gboolean            arg5,
               gpointer            user_data)

Flags: Run Last