# openaptxdec

This element decodes Bluetooth aptX or aptX-HD stream to raw S24LE integer stereo PCM audio. Accepts audio/aptx or audio/aptx-hd input streams.

## Example pipelines

     gst-launch-1.0 -v audiotestsrc ! avenc_aptx ! openaptxdec ! audioconvert ! autoaudiosink

Decode a sine wave encoded with AV encoder and listen to result.

     gst-launch-1.0 -v audiotestsrc ! avenc_aptx ! openaptxdec autosync=0 ! audioconvert ! autoaudiosink

Decode a sine wave encoded with AV encoder and listen to result, stream autosync disabled.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstAudioDecoder
                        ╰──openaptxdec

## Factory details

Authors: – Igor V. Kovalenko , Thomas Weißschuh

Classification: – `Codec/Decoder/Audio`

Rank – none

Plugin – openaptx

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    audio/aptx-hd:
           channels: 2
               rate: [ 1, 2147483647 ]
    audio/aptx:
           channels: 2
               rate: [ 1, 2147483647 ]

Presence – always

Direction – sink

Object type – GstPad

### `src`

    audio/x-raw:
             format: S24LE
               rate: [ 1, 2147483647 ]
           channels: 2
             layout: interleaved

Presence – always

Direction – src

Object type – GstPad

## Properties

### autosync

    “autosync” gboolean

Gracefully handle partially corrupted stream in which some bytes are missing

Flags : Read / Write

Default value : true

The results of the search are