AgsExportSoundcard

AgsExportSoundcard — The export soundcard widget

Stability Level

Stable, unless otherwise indicated

Functions

Properties

GObject * soundcard Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBox
                    ╰── AgsExportSoundcard

Implemented Interfaces

AgsExportSoundcard implements AtkImplementorIface, GtkBuildable, GtkOrientable and AgsConnectable.

Includes

#include <ags/X/ags_export_soundcard.h>

Description

AgsExportSoundcard lets you export to audio files. This widget enables you to specify what soundcard is written to what file.

Functions

ags_export_soundcard_set_backend ()

gboolean
ags_export_soundcard_set_backend (AgsExportSoundcard *export_soundcard,
                                  gchar *backend);

Set backend.

Parameters

export_soundcard

the AgsExportSoundcard

 

backend

the backend

 

Returns

TRUE on success, otherwise FALSE

Since: 3.0.0


ags_export_soundcard_refresh_card ()

void
ags_export_soundcard_refresh_card (AgsExportSoundcard *export_soundcard);

Refresh cards.

Parameters

export_soundcard

the AgsExportSoundcard

 

Since: 3.0.0


ags_export_soundcard_set_card ()

gboolean
ags_export_soundcard_set_card (AgsExportSoundcard *export_soundcard,
                               gchar *card);

Set card.

Parameters

export_soundcard

the AgsExportSoundcard

 

card

the card

 

Since: 3.0.0


ags_export_soundcard_set_filename ()

void
ags_export_soundcard_set_filename (AgsExportSoundcard *export_soundcard,
                                   gchar *filename);

Set filename.

Parameters

export_soundcard

the AgsExportSoundcard

 

filename

the filename

 

Since: 3.0.0


ags_export_soundcard_set_format ()

void
ags_export_soundcard_set_format (AgsExportSoundcard *export_soundcard,
                                 gchar *format);

Set format.

Parameters

export_soundcard

the AgsExportSoundcard

 

format

the format

 

Since: 3.0.0


ags_export_soundcard_new ()

AgsExportSoundcard *
ags_export_soundcard_new ();

Create a new instance of AgsExportSoundcard

Returns

the new AgsExportSoundcard

Since: 3.0.0


AGS_EXPORT_SOUNDCARD()

#define AGS_EXPORT_SOUNDCARD(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_EXPORT_SOUNDCARD, AgsExportSoundcard))

AGS_EXPORT_SOUNDCARD_CLASS()

#define AGS_EXPORT_SOUNDCARD_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_EXPORT_SOUNDCARD, AgsExportSoundcardClass))

AGS_EXPORT_SOUNDCARD_GET_CLASS()

#define AGS_EXPORT_SOUNDCARD_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_EXPORT_SOUNDCARD, AgsExportSoundcardClass))

AGS_IS_EXPORT_SOUNDCARD()

#define AGS_IS_EXPORT_SOUNDCARD(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_EXPORT_SOUNDCARD))

AGS_IS_EXPORT_SOUNDCARD_CLASS()

#define AGS_IS_EXPORT_SOUNDCARD_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_EXPORT_SOUNDCARD))

ags_export_soundcard_get_type ()

GType
ags_export_soundcard_get_type (void);

Types and Values

AGS_EXPORT_SOUNDCARD_FORMAT_WAV

#define AGS_EXPORT_SOUNDCARD_FORMAT_WAV "wav"

AGS_EXPORT_SOUNDCARD_FORMAT_FLAC

#define AGS_EXPORT_SOUNDCARD_FORMAT_FLAC "flac"

AGS_EXPORT_SOUNDCARD_FORMAT_AIFF

#define AGS_EXPORT_SOUNDCARD_FORMAT_AIFF "aiff"

AGS_EXPORT_SOUNDCARD_FORMAT_OGG

#define AGS_EXPORT_SOUNDCARD_FORMAT_OGG "ogg"

AGS_EXPORT_SOUNDCARD_FORMAT_MP3

#define AGS_EXPORT_SOUNDCARD_FORMAT_MP3 "mp3"

AGS_EXPORT_SOUNDCARD_FORMAT_AAC

#define AGS_EXPORT_SOUNDCARD_FORMAT_AAC "aac"

AGS_EXPORT_SOUNDCARD_FORMAT_MP4

#define AGS_EXPORT_SOUNDCARD_FORMAT_MP4 "mp4"

AGS_EXPORT_SOUNDCARD_FORMAT_MKV

#define AGS_EXPORT_SOUNDCARD_FORMAT_MKV "mkv"

AGS_EXPORT_SOUNDCARD_FORMAT_WEBM

#define AGS_EXPORT_SOUNDCARD_FORMAT_WEBM "webm"

AGS_EXPORT_SOUNDCARD_FORMAT_MPEG

#define AGS_EXPORT_SOUNDCARD_FORMAT_MPEG "mpg"

enum AgsExportSoundcardFlags

Members

AGS_EXPORT_SOUNDCARD_CONNECTED

   

AGS_TYPE_EXPORT_SOUNDCARD

#define AGS_TYPE_EXPORT_SOUNDCARD                (ags_export_soundcard_get_type())

struct AgsExportSoundcard

struct AgsExportSoundcard;

struct AgsExportSoundcardClass

struct AgsExportSoundcardClass {
  GtkBoxClass box;
};

Property Details

The “soundcard” property

  “soundcard”                GObject *

The assigned AgsSoundcard acting as default sink.

Owner: AgsExportSoundcard

Flags: Read / Write

Since: 3.0.0