halaudiosink

halaudiosink — Audio sink for sound device access via HAL

Synopsis

                    GstHalAudioSink;

Properties

  "udi"                      gchar*                : 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 or osssink as HAL doesn't support other sound systems yet. You can also specify the UDI of a device that has ALSA or OSS subdevices. If both are present ALSA is preferred.

Examples

hal-find-by-property --key alsa.type --string playback
list the UDIs of all your ALSA output devices
gst-launch -v audiotestsrc ! halaudiosink udi=/org/freedesktop/Hal/devices/pci_8086_27d8_alsa_playback_0
test your soundcard by playing a test signal on the specified sound device.

Synopsis

Element Information

plugin

halelements

author

Jürg Billeter <j@bitron.ch>

class

Sink/Audio

Element Pads

name

sink

direction

sink

presence

always

details

ANY

Details

GstHalAudioSink

typedef struct {
  GstBin parent;

  /* explicit pointers to stuff used */
  gchar *udi;
  GstElement *kid;
  GstPad *pad;
} GstHalAudioSink;

Property Details

The "udi" property

  "udi"                      gchar*                : Read / Write

Unique Device Id.

Default value: NULL