UniMRCP  1.7.0
Functions
mpf_encoder.h File Reference

MPF Stream Encoder. More...

#include "mpf_stream.h"
Include dependency graph for mpf_encoder.h:

Go to the source code of this file.

Functions

APT_BEGIN_EXTERN_C mpf_audio_stream_tmpf_encoder_create (mpf_audio_stream_t *sink, mpf_codec_t *codec, apr_pool_t *pool)
 

Detailed Description

MPF Stream Encoder.

Function Documentation

◆ mpf_encoder_create()

APT_BEGIN_EXTERN_C mpf_audio_stream_t* mpf_encoder_create ( mpf_audio_stream_t sink,
mpf_codec_t codec,
apr_pool_t *  pool 
)

Create audio stream encoder.

Parameters
sinkthe sink to write encoded stream to
codecthe codec to use for encode
poolthe pool to allocate memory from