## celtdec celtdec — decode celt streams to audio |

## Synopsis

                        GstCeltDec;

## Description

This element decodes a CELT stream to raw integer audio.

### Example pipelines

    1
    gst-launch -v filesrc location=celt.ogg ! oggdemux ! celtdec ! audioconvert ! audioresample ! alsasink

Decode an Ogg/Celt file. To create an Ogg/Celt file refer to the documentation of celtenc.

## Details

### GstCeltDec

    typedef struct {
      GstElement            element;

      /* pads */
      GstPad                *sinkpad;
      GstPad                *srcpad;

      CELTDecoder          *state;
      CELTMode             *mode;
      CELTHeader            header;

      gint                  frame_size;
      GstClockTime          frame_duration;
      guint64               packetno;

      GstSegment            segment;    /* STREAM LOCK */
      gint64                granulepos; /* -1 = needs to be set from current time */
      gboolean              discont;
    } GstCeltDec;

## See Also

celtenc, oggdemux