# lc3dec

The lc3dec decodes LC3 data into raw audio.

## Example pipeline

     gst-launch-1.0 -v filesrc location=encoded.lc3 blocksize=200 ! \
       audio/x-lc3,frame-bytes=100,frame-duration-us=10000,channels=2,rate=48000,channel-mask=\(bitmask\)0x00000000000000003 !\
       lc3dec ! wavenc ! filesink location=decoded.wav

Decodes the LC3 frames each with 100 bytes of size, converts it to raw audio and saves into a .wav file

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstAudioDecoder
                        ╰──lc3dec

## Factory details

Authors: – Taruntej Kanakamalla <taruntej></taruntej>

Classification: – `Codec/Decoder/Audio`

Rank – none

Plugin – lc3

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    audio/x-lc3:
               rate: { (int)8000, (int)16000, (int)24000, (int)32000, (int)48000 }
           channels: [ 1, 2147483647 ]
        frame-bytes: [ 20, 400 ]
    frame-duration-us: { (int)10000, (int)7500 }
             framed: true

Presence – always

Direction – sink

Object type – GstPad

### `src`

    audio/x-raw:
             format: S16LE
             layout: interleaved
               rate: { (int)8000, (int)16000, (int)24000, (int)32000, (int)48000 }
           channels: [ 1, 2147483647 ]

Presence – always

Direction – src

Object type – GstPad

The results of the search are