# openaptxenc

This element encodes raw S24LE integer stereo PCM audio into a Bluetooth aptX or aptX-HD stream. Accepts audio/aptx or audio/aptx-hd output streams.

## Example pipelines

     gst-launch-1.0 -v audiotestsrc ! openaptxenc ! avdec_aptx ! audioconvert ! autoaudiosink

Encode a sine wave into aptX, AV decode it and listen to result.

     gst-launch-1.0 -v audiotestsrc ! openaptxenc ! avdec_aptx_hd ! audioconvert ! autoaudiosink

Encode a sine wave into aptX-HD, AV decode it and listen to result.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstAudioEncoder
                        ╰──openaptxenc

## Implemented interfaces

    GstPreset

## Factory details

Authors: – Igor V. Kovalenko <igor.v.kovalenko@gmail.com>, Thomas Weißschuh <thomas@t-8ch.de></thomas@t-8ch.de></igor.v.kovalenko@gmail.com>

Classification: – `Codec/Encoder/Audio`

Rank – none

Plugin – openaptx

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

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

Presence – always

Direction – sink

Object type – GstPad

### `src`

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

Presence – always

Direction – src

Object type – GstPad

The results of the search are