alsasink

alsasink — play audio to an ALSA device

Synopsis




            GstAlsaSink;

Object Hierarchy


  GObject
   +----GstObject
         +----GstElement
               +----GstBaseSink
                     +----GstBaseAudioSink
                           +----GstAudioSink
                                 +----GstAlsaSink

Properties


  "device"               gchararray            : Read / Write
  "device-name"          gchararray            : Read

Description

This element renders raw audio samples using the ALSA api.

Example pipelines

Play an Ogg/Vorbis file.

gst-launch -v filesrc location=sine.ogg ! oggdemux ! vorbisdec ! audioconvert ! alsasink

Last reviewed on 2006-03-01 (0.10.4)

Element Information

plugin alsa
author Wim Taymans <wim@fluendo.com>
class Sink/Audio

Details

GstAlsaSink

typedef struct _GstAlsaSink GstAlsaSink;

Opaque data structure

Properties

The "device" property

  "device"               gchararray            : Read / Write

ALSA device, as defined in an asound configuration file.

Default value: "default"


The "device-name" property

  "device-name"          gchararray            : Read

Human-readable name of the sound device.

Default value: ""

See Also

alsasrc, alsamixer