alsasrc

alsasrc — Read from a sound card via ALSA

Properties

gchar * device Read / Write
gchar * device-name Read
gchar * card-name Read

Types and Values

struct GstAlsaSrc

Object Hierarchy

    GObject
    ╰── GstObject
        ╰── GstElement
            ╰── GstBaseSrc
                ╰── GstPushSrc
                    ╰── GstBaseAudioSrc
                        ╰── GstAudioSrc
                            ╰── GstAlsaSrc

Implemented Interfaces

GstAlsaSrc implements GstImplementsInterface, GstMixer and GstPropertyProbe.

Description

Synopsis

Element Information

plugin

alsa

author

Wim Taymans <wim@fluendo.com>

class

Source/Audio

Element Pads

name

src

direction

source

presence

always

details

audio/x-raw-int, endianness=(int){ 1234, 4321 }, signed=(boolean){ true, false }, width=(int)32, depth=(int)32, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ]

audio/x-raw-int, endianness=(int){ 1234, 4321 }, signed=(boolean){ true, false }, width=(int)32, depth=(int)24, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ]

audio/x-raw-int, endianness=(int){ 1234, 4321 }, signed=(boolean){ true, false }, width=(int)24, depth=(int)24, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ]

audio/x-raw-int, endianness=(int){ 1234, 4321 }, signed=(boolean){ true, false }, width=(int)16, depth=(int)16, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ]

audio/x-raw-int, signed=(boolean){ true, false }, width=(int)8, depth=(int)8, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ]

Functions

Types and Values

struct GstAlsaSrc

struct GstAlsaSrc;

Property Details

The “device” property

  “device”                   gchar *

ALSA device, as defined in an asound configuration file.

Flags: Read / Write

Default value: "default"


The “device-name” property

  “device-name”              gchar *

Human-readable name of the sound device.

Flags: Read

Default value: ""


The “card-name” property

  “card-name”                gchar *

Human-readable name of the sound card.

Flags: Read

Default value: ""