UniMRCP  1.7.0
mpf_encoder.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_ENCODER_H
18 #define MPF_ENCODER_H
19 
20 /**
21  * @file mpf_encoder.h
22  * @brief MPF Stream Encoder
23  */
24 
25 #include "mpf_stream.h"
26 
28 
29 /**
30  * Create audio stream encoder.
31  * @param sink the sink to write encoded stream to
32  * @param codec the codec to use for encode
33  * @param pool the pool to allocate memory from
34  */
36 
37 
39 
40 #endif /* MPF_ENCODER_H */
Definition: mpf_stream.h:37
MPF Bidirectional Stream.
#define APT_END_EXTERN_C
Definition: apt.h:38
Definition: mpf_codec.h:35
#define MPF_DECLARE(type)
Definition: mpf.h:40
#define APT_BEGIN_EXTERN_C
Definition: apt.h:36
APT_BEGIN_EXTERN_C mpf_audio_stream_t * mpf_encoder_create(mpf_audio_stream_t *sink, mpf_codec_t *codec, apr_pool_t *pool)