UniMRCP  1.3.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
mpf_mixer.h
Go to the documentation of this file.
1 /*
2  * Copyright 2008-2014 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  * $Id: mpf_mixer.h 2136 2014-07-04 06:33:36Z achaloyan@gmail.com $
17  */
18 
19 #ifndef MPF_MIXER_H
20 #define MPF_MIXER_H
21 
22 /**
23  * @file mpf_mixer.h
24  * @brief MPF Stream Mixer (n-sources, 1-sink)
25  */
26 
27 #include "mpf_object.h"
28 
30 
31 /**
32  * Create audio stream mixer.
33  * @param source_arr the array of audio sources
34  * @param source_count the number of audio sources
35  * @param sink the audio sink
36  * @param codec_manager the codec manager
37  * @param name the informative name used for debugging
38  * @param pool the pool to allocate memory from
39  */
41  mpf_audio_stream_t **source_arr,
42  apr_size_t source_count,
43  mpf_audio_stream_t *sink,
44  const mpf_codec_manager_t *codec_manager,
45  const char *name,
46  apr_pool_t *pool);
47 
48 
50 
51 #endif /* MPF_MIXER_H */