AgsSequencerThread

AgsSequencerThread — sequencer thread

Stability Level

Stable, unless otherwise indicated

Functions

Properties

GObject * sequencer Write

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── AgsThread
        ╰── AgsSequencerThread

Implemented Interfaces

AgsSequencerThread implements AgsConnectable.

Includes

#include <ags/thread/ags_sequencer_thread.h>

Description

The AgsSequencerThread acts as midi input thread.

Functions

ags_sequencer_thread_interval_timeout ()

void
ags_sequencer_thread_interval_timeout (AgsSequencerThread *sequencer_thread);

ags_sequencer_thread_find_sequencer ()

AgsSequencerThread *
ags_sequencer_thread_find_sequencer (AgsSequencerThread *sequencer_thread,
                                     GObject *sequencer);

Find sequencer as sibling of sequencer_thread , if it was found on the returned thread should be called g_object_unref().

Parameters

sequencer_thread

the AgsSequencerThread

 

sequencer

the AgsSequencer to find

 

Returns

the matching AgsSequencerThread, if not found NULL.

[transfer full]

Since: 3.0.0


ags_sequencer_thread_new ()

AgsSequencerThread *
ags_sequencer_thread_new (GObject *sequencer);

Create a new instance of AgsSequencerThread.

Parameters

sequencer

the AgsSequencer

 

Returns

the new AgsSequencerThread

Since: 3.0.0


AGS_IS_SEQUENCER_THREAD()

#define AGS_IS_SEQUENCER_THREAD(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_SEQUENCER_THREAD))

AGS_IS_SEQUENCER_THREAD_CLASS()

#define AGS_IS_SEQUENCER_THREAD_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_SEQUENCER_THREAD))

AGS_SEQUENCER_THREAD()

#define AGS_SEQUENCER_THREAD(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SEQUENCER_THREAD, AgsSequencerThread))

AGS_SEQUENCER_THREAD_CLASS()

#define AGS_SEQUENCER_THREAD_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_SEQUENCER_THREAD, AgsSequencerThreadClass))

AGS_SEQUENCER_THREAD_GET_CLASS()

#define AGS_SEQUENCER_THREAD_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_SEQUENCER_THREAD, AgsSequencerThreadClass))

ags_sequencer_thread_get_type ()

GType
ags_sequencer_thread_get_type ();

Types and Values

AGS_SEQUENCER_THREAD_DEFAULT_JIFFIE

#define AGS_SEQUENCER_THREAD_DEFAULT_JIFFIE (ceil(AGS_SOUNDCARD_DEFAULT_SAMPLERATE / AGS_SOUNDCARD_DEFAULT_BUFFER_SIZE) + AGS_SOUNDCARD_DEFAULT_OVERCLOCK)

AGS_TYPE_SEQUENCER_THREAD

#define AGS_TYPE_SEQUENCER_THREAD                (ags_sequencer_thread_get_type())

struct AgsSequencerThread

struct AgsSequencerThread;

struct AgsSequencerThreadClass

struct AgsSequencerThreadClass {
  AgsThreadClass thread;

  void (*interval_timeout)(AgsSequencerThread *sequencer_thread);
};

Property Details

The “sequencer” property

  “sequencer”                GObject *

The assigned AgsSequencer.

Owner: AgsSequencerThread

Flags: Write

Since: 3.0.0

Signal Details

The “interval-timeout” signal

void
user_function (AgsSequencerThread *agssequencerthread,
               gpointer            user_data)

Flags: Run Last