AgsOpenSingleFile

AgsOpenSingleFile — open single file task

Functions

Properties

guint audio-channels Read / Write
AgsChannel * channel Read / Write
gchar * filename Read / Write
GObject * soundcard Read / Write
guint start-channel Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsOpenSingleFile

Implemented Interfaces

AgsOpenSingleFile implements AgsConnectable.

Includes

#include <ags/audio/task/ags_open_single_file.h>

Description

The AgsOpenFile task opens one single file.

Functions

ags_open_single_file_new ()

AgsOpenSingleFile *
ags_open_single_file_new (AgsChannel *channel,
                          GObject *soundcard,
                          gchar *filename,
                          guint start_channel,
                          guint audio_channels);

AGS_IS_OPEN_SINGLE_FILE()

#define AGS_IS_OPEN_SINGLE_FILE(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_OPEN_SINGLE_FILE))

AGS_OPEN_SINGLE_FILE()

#define AGS_OPEN_SINGLE_FILE(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_OPEN_SINGLE_FILE, AgsOpenSingleFile))

AGS_OPEN_SINGLE_FILE_CLASS()

#define AGS_OPEN_SINGLE_FILE_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_OPEN_SINGLE_FILE, AgsOpenSingleFileClass))

AGS_OPEN_SINGLE_FILE_GET_CLASS()

#define AGS_OPEN_SINGLE_FILE_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_OPEN_SINGLE_FILE, AgsOpenSingleFileClass))

ags_open_single_file_get_type ()

GType
ags_open_single_file_get_type ();

Types and Values

AGS_TYPE_OPEN_SINGLE_FILE

#define AGS_TYPE_OPEN_SINGLE_FILE                (ags_open_single_file_get_type())

struct AgsOpenSingleFile

struct AgsOpenSingleFile;

struct AgsOpenSingleFileClass

struct AgsOpenSingleFileClass {
  AgsTaskClass task;
};

Property Details

The “audio-channels” property

  “audio-channels”           guint

The audio channels count to read.

Flags: Read / Write

Default value: 0

Since: 1.0.0


The “channel” property

  “channel”                  AgsChannel *

The assigned AgsChannel

Flags: Read / Write

Since: 1.0.0


The “filename” property

  “filename”                 gchar *

The assigned filename.

Flags: Read / Write

Default value: NULL

Since: 1.0.0


The “soundcard” property

  “soundcard”                GObject *

The assigned AgsSoundcard

Flags: Read / Write

Since: 1.0.0


The “start-channel” property

  “start-channel”            guint

The start channel of within pad channel .

Flags: Read / Write

Default value: 0

Since: 1.0.0