AgsAnalyseChannel

AgsAnalyseChannel — analyses channel

Functions

Properties

AgsPort * buffer-cleared Read / Write
AgsPort * buffer-computed Read / Write
guint cache-buffer-size Read / Write
guint cache-format Read / Write
guint cache-samplerate Read / Write
AgsPort * frequency-buffer Read / Write
AgsPort * magnitude-buffer Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsRecall
        ╰── AgsRecallChannel
            ╰── AgsAnalyseChannel

Implemented Interfaces

AgsAnalyseChannel implements AgsConnectable.

Includes

#include <ags/audio/recall/ags_analyse_channel.h>

Description

The AgsAnalyseChannel class provides ports to the effect processor.

Functions

AGS_ANALYSE_CHANNEL_GET_BUFFER_MUTEX()

#define AGS_ANALYSE_CHANNEL_GET_BUFFER_MUTEX(obj) (&(((AgsAnalyseChannel *) obj)->buffer_mutex))

ags_analyse_channel_buffer_add ()

void
ags_analyse_channel_buffer_add (AgsAnalyseChannel *analyse_channel,
                                void *buffer,
                                guint samplerate,
                                guint buffer_size,
                                guint format);

ags_analyse_channel_retrieve_frequency_and_magnitude ()

void
ags_analyse_channel_retrieve_frequency_and_magnitude
                               (AgsAnalyseChannel *analyse_channel);

ags_analyse_channel_new ()

AgsAnalyseChannel *
ags_analyse_channel_new (AgsChannel *source);

Create a new instance of AgsAnalyseChannel

Parameters

source

the source AgsChannel

 

Returns

the new AgsAnalyseChannel

Since: 3.0.0


AGS_ANALYSE_CHANNEL()

#define AGS_ANALYSE_CHANNEL(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_ANALYSE_CHANNEL, AgsAnalyseChannel))

AGS_ANALYSE_CHANNEL_CLASS()

#define AGS_ANALYSE_CHANNEL_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_ANALYSE_CHANNEL, AgsAnalyseChannel))

AGS_ANALYSE_CHANNEL_GET_CLASS()

#define AGS_ANALYSE_CHANNEL_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_ANALYSE_CHANNEL, AgsAnalyseChannelClass))

AGS_IS_ANALYSE_CHANNEL()

#define AGS_IS_ANALYSE_CHANNEL(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_ANALYSE_CHANNEL))

ags_analyse_channel_get_type ()

GType
ags_analyse_channel_get_type ();

Types and Values

AGS_TYPE_ANALYSE_CHANNEL

#define AGS_TYPE_ANALYSE_CHANNEL                (ags_analyse_channel_get_type())

struct AgsAnalyseChannel

struct AgsAnalyseChannel;

struct AgsAnalyseChannelClass

struct AgsAnalyseChannelClass {
  AgsRecallChannelClass recall_channel;
};

Property Details

The “buffer-cleared” property

  “buffer-cleared”           AgsPort *

The property indicating if buffer was cleared.

Owner: AgsAnalyseChannel

Flags: Read / Write

Since: 3.0.0


The “buffer-computed” property

  “buffer-computed”          AgsPort *

The property indicating if buffer was computed.

Owner: AgsAnalyseChannel

Flags: Read / Write

Since: 3.0.0


The “cache-buffer-size” property

  “cache-buffer-size”        guint

The cache's buffer length.

Owner: AgsAnalyseChannel

Flags: Read / Write

Default value: 1024

Since: 3.0.0


The “cache-format” property

  “cache-format”             guint

The cache's format.

Owner: AgsAnalyseChannel

Flags: Read / Write

Default value: 16

Since: 3.0.0


The “cache-samplerate” property

  “cache-samplerate”         guint

The cache's samplerate.

Owner: AgsAnalyseChannel

Flags: Read / Write

Default value: 48000

Since: 3.0.0


The “frequency-buffer” property

  “frequency-buffer”         AgsPort *

The frequency buffer.

Owner: AgsAnalyseChannel

Flags: Read / Write

Since: 3.0.0


The “magnitude-buffer” property

  “magnitude-buffer”         AgsPort *

The magnitude buffer.

Owner: AgsAnalyseChannel

Flags: Read / Write

Since: 3.0.0