UniMRCP  1.7.0
mpf_multiplier.h
Go to the documentation of this file.
1 /*
2  * Copyright 2008-2015 Arsen Chaloyan
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef MPF_MULTIPLIER_H
18 #define MPF_MULTIPLIER_H
19 
20 /**
21  * @file mpf_multiplier.h
22  * @brief MPF Stream Multiplier (1-source, n-sinks)
23  */
24 
25 #include "mpf_object.h"
26 
28 
29 /**
30  * Create audio stream multiplier.
31  * @param source the audio source
32  * @param sink_arr the array of audio sinks
33  * @param sink_count the number of audio sinks
34  * @param codec_manager the codec manager
35  * @param name the informative name used for debugging
36  * @param pool the pool to allocate memory from
37  */
39  mpf_audio_stream_t *source,
40  mpf_audio_stream_t **sink_arr,
41  apr_size_t sink_count,
42  const mpf_codec_manager_t *codec_manager,
43  const char *name,
44  apr_pool_t *pool);
45 
46 
48 
49 #endif /* MPF_MULTIPLIER_H */
Definition: mpf_stream.h:37
#define APT_END_EXTERN_C
Definition: apt.h:38
#define MPF_DECLARE(type)
Definition: mpf.h:40
#define APT_BEGIN_EXTERN_C
Definition: apt.h:36
APT_BEGIN_EXTERN_C mpf_object_t * mpf_multiplier_create(mpf_audio_stream_t *source, mpf_audio_stream_t **sink_arr, apr_size_t sink_count, const mpf_codec_manager_t *codec_manager, const char *name, apr_pool_t *pool)
Media Processing Object Base (bridge, multiplexor, mixer, ...)
Definition: mpf_object.h:33
struct mpf_codec_manager_t mpf_codec_manager_t
Definition: mpf_types.h:39