esdsink

esdsink — Plays audio to an esound server

Synopsis

                    GstEsdSink;

Properties

  "host"                     gchar*                : Read / Write

Description

This element outputs sound to an already-running Enlightened Sound Daemon (ESound Daemon, esd). Note that a sound daemon will never be auto-spawned through this element (regardless of the system configuration), since this is actively prevented by the element. If you must use esd, you need to make sure it is started automatically with your session or otherwise.

TODO: insert some comments about how sucky esd is and that all the cool kids use pulseaudio or whatever these days.

Example launch line

1
gst-launch -v filesrc location=foo.ogg ! decodebin ! audioconvert ! audioresample ! esdsink
play an Ogg/Vorbis audio file via esd

Details

GstEsdSink

typedef struct {
  GstAudioSink   sink;

  int       fd;
  int       ctrl_fd;
  gchar    *host;

  guint     rate;
  GstCaps  *cur_caps;
} GstEsdSink;

Property Details

The "host" property

  "host"                     gchar*                : Read / Write

The host running the esound daemon.

Default value: NULL

See Also

GstAlsaSink, GstAutoAudioSink