id: vocoder_ulaw_encode_sb
label: ulaw Audio Encoder
flags: [ python, cpp ]

inputs:
-   domain: stream
    dtype: short

outputs:
-   domain: stream
    dtype: byte

templates:
    imports: from gnuradio import vocoder
    make: vocoder.ulaw_encode_sb()

cpp_templates:
    includes: [ '#include <gnuradio/vocoder/ulaw_encode_sb.h>' ]
    declarations: 'vocoder::ulaw_encode_sb::sptr ${id};'
    make: 'this->${id} = vocoder::ulaw_encode_sb::make();'
    link: ['gnuradio-vocoder']

file_format: 1
