vorbisdec

vorbisdec — decode raw vorbis streams to float audio

Synopsis

                    GstVorbisDec;

Description

This element decodes a Vorbis stream to raw float audio. Vorbis is a royalty-free audio codec maintained by the Xiph.org Foundation.

Example pipelines

1
gst-launch -v filesrc location=sine.ogg ! oggdemux ! vorbisdec ! audioconvert ! alsasink
Decode an Ogg/Vorbis. To create an Ogg/Vorbis file refer to the documentation of vorbisenc.

Last reviewed on 2006-03-01 (0.10.4)

Details

GstVorbisDec

typedef struct {
  GstElement        element;

  GstPad           *sinkpad;
  GstPad           *srcpad;

  vorbis_dsp_state  vd;
  vorbis_info       vi;
  vorbis_comment    vc;

#ifndef USE_TREMOLO
  vorbis_block      vb;
#endif

  gboolean          initialized;
  guint             width;

  /* list of buffers that need timestamps */
  GList            *queued;
  /* gather/decode queues for reverse playback */
  GList            *gather;
  GList            *decode;

  GstSegment        segment;
  gboolean          discont;
  guint32           seqnum;

  GstClockTime      last_timestamp;

  GList            *pendingevents;
  GstTagList       *taglist;
  
  CopySampleFunc    copy_samples;
} GstVorbisDec;

Opaque data structure.

See Also

vorbisenc, oggdemux