autoaudiosrc

autoaudiosrc — Wrapper audio source for automatically detected audio source

Properties

GstCaps * filter-caps Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GstObject
        ╰── GstElement
            ╰── GstBin
                ╰── GstAutoAudioSrc

Implemented Interfaces

GstAutoAudioSrc implements GstChildProxy.

Description

autoaudiosrc is an audio source that automatically detects an appropriate audio source to use. It does so by scanning the registry for all elements that have Source and Audio in the class field of their element information, and also have a non-zero autoplugging rank.

Example launch line

gst-launch -v -m autoaudiosrc ! audioconvert ! audioresample ! autoaudiosink

Synopsis

Element Information

plugin

autodetect

author

Jan Schmidt <thaytan@noraisin.net>, Stefan Kost <ensonic@users.sf.net>

class

Source/Audio

Element Pads

name

src

direction

source

presence

always

details

ANY

Functions

Types and Values

GstAutoAudioSrc

typedef struct _GstAutoAudioSrc GstAutoAudioSrc;

Property Details

The “filter-caps” property

  “filter-caps”              GstCaps *

This property will filter out candidate sinks that can handle the specified caps. By default only audio sinks that support raw floating point and integer audio are selected.

This property can only be set before the element goes to the READY state.

Flags: Read / Write

Since: 0.10.14

See Also

autovideosrc, alsasrc, osssrc