UniMRCP  1.7.0
mpf_bridge.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_BRIDGE_H
18 #define MPF_BRIDGE_H
19 
20 /**
21  * @file mpf_bridge.h
22  * @brief MPF Stream Bridge
23  */
24 
25 #include "mpf_object.h"
26 
28 
29 /**
30  * Create bridge of audio streams.
31  * @param source the source audio stream
32  * @param sink the sink audio stream
33  * @param codec_manager the codec manager
34  * @param name the informative name used for debugging
35  * @param pool the pool to allocate memory from
36  */
38  mpf_audio_stream_t *source,
39  mpf_audio_stream_t *sink,
40  const mpf_codec_manager_t *codec_manager,
41  const char *name,
42  apr_pool_t *pool);
43 
44 
46 
47 #endif /* MPF_BRIDGE_H */
Definition: mpf_stream.h:37
#define APT_END_EXTERN_C
Definition: apt.h:38
#define MPF_DECLARE(type)
Definition: mpf.h:40
APT_BEGIN_EXTERN_C mpf_object_t * mpf_bridge_create(mpf_audio_stream_t *source, mpf_audio_stream_t *sink, const mpf_codec_manager_t *codec_manager, const char *name, apr_pool_t *pool)
#define APT_BEGIN_EXTERN_C
Definition: apt.h:36
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