UniMRCP  1.7.0
Functions
mpf_mixer.h File Reference

MPF Stream Mixer (n-sources, 1-sink) More...

#include "mpf_object.h"
Include dependency graph for mpf_mixer.h:

Go to the source code of this file.

Functions

APT_BEGIN_EXTERN_C mpf_object_tmpf_mixer_create (mpf_audio_stream_t **source_arr, apr_size_t source_count, mpf_audio_stream_t *sink, const mpf_codec_manager_t *codec_manager, const char *name, apr_pool_t *pool)
 

Detailed Description

MPF Stream Mixer (n-sources, 1-sink)

Function Documentation

◆ mpf_mixer_create()

APT_BEGIN_EXTERN_C mpf_object_t* mpf_mixer_create ( mpf_audio_stream_t **  source_arr,
apr_size_t  source_count,
mpf_audio_stream_t sink,
const mpf_codec_manager_t codec_manager,
const char *  name,
apr_pool_t *  pool 
)

Create audio stream mixer.

Parameters
source_arrthe array of audio sources
source_countthe number of audio sources
sinkthe audio sink
codec_managerthe codec manager
namethe informative name used for debugging
poolthe pool to allocate memory from