esdsink

esdsink — Plays audio to an esound server

Synopsis

struct              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

Synopsis

Element Information

plugin

esdsink

author

Arwed von Merkatz <v.merkatz@gmx.net>

class

Sink/Audio

Element Pads

name

sink

direction

sink

presence

always

details

audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2 ]

audio/x-raw-int, signed=(boolean){ true, false }, width=(int)8, depth=(int)8, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2 ]

Details

struct GstEsdSink

struct GstEsdSink {
  GstAudioSink   sink;

  int       fd;
  int       ctrl_fd;
  gchar    *host;

  guint     rate;
  GstCaps  *cur_caps;
};

Property Details

The "host" property

  "host"                     gchar*                : Read / Write

The host running the esound daemon.

Default value: NULL

See Also

GstAlsaSink, GstAutoAudioSink