halaudiosink

halaudiosink — Audio sink for sound device access via HAL

Synopsis




            GstHalAudioSink;

Object Hierarchy


  GObject
   +----GstObject
         +----GstElement
               +----GstBin
                     +----GstHalAudioSink

Properties


  "udi"                  gchararray            : Read / Write

Description

HalAudioSink allows access to output of sound devices by specifying the corresponding persistent Unique Device Id (UDI) from the Hardware Abstraction Layer (HAL) in the udi property. It currently always embeds alsasink as HAL doesn't support other sound systems yet.

Examples

To list the UDIs of all your ALSA output devices :

hal-find-by-property --key alsa.type --string playback

Here is a pipeline to test your sound output :

gst-launch -v audiotestsrc ! halaudiosink udi=/org/freedesktop/Hal/devices/pci_8086_27d8_alsa_playback_0

This pipeline produces a test signal on the specified sound device.

Element Information

plugin halelements
author Jürg Billeter <j@bitron.ch>
class Sink/Audio

Details

GstHalAudioSink

typedef struct _GstHalAudioSink GstHalAudioSink;

Property Details

The "udi" property

  "udi"                  gchararray            : Read / Write

Unique Device Id.

Default value: NULL