dtsdec

dtsdec — Decodes DTS audio streams

Synopsis

                    GstDtsDec;

Properties

  "drc"                      gboolean              : Read / Write

Description

Digital Theatre System (DTS) audio decoder

Example launch line

1
gst-launch dvdreadsrc title=1 ! mpegpsdemux ! dtsdec ! audioresample ! audioconvert ! alsasink
Play a DTS audio track from a dvd.
1
gst-launch filesrc location=abc.dts ! dtsdec ! audioresample ! audioconvert ! alsasink
Decode a standalone file and play it.

Details

GstDtsDec

typedef struct {
  GstElement 	 element;

  /* pads */
  GstPad        *sinkpad;
  GstPad        *srcpad;
  GstSegment     segment;

  gboolean       dvdmode;
  gboolean       sent_segment;
  gboolean       discont;
  gboolean       flag_update;
  gboolean       prev_flags;

  /* stream properties */
  gint 	         bit_rate;
  gint 	         sample_rate;
  gint 	         stream_channels;
  gint 	         request_channels;
  gint 	         using_channels;

  /* decoding properties */
  sample_t 	 level;
  sample_t 	 bias;
  gboolean 	 dynamic_range_compression;
  sample_t 	*samples;
#ifndef DTS_OLD
  dca_state_t   *state;
#else
  dts_state_t 	*state;
#endif


  /* Data left over from the previous buffer */
  GstBuffer		*cache;
  GstClockTime time;

  /* reverse playback */
  GList *queued;
} GstDtsDec;

Property Details

The "drc" property

  "drc"                      gboolean              : Read / Write

Use Dynamic Range Compression.

Default value: FALSE