Git init
[external/opencore-amr.git] / test / linkboth.c
1 /* ------------------------------------------------------------------
2  * Copyright (C) 2009 Martin Storsjo
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
13  * express or implied.
14  * See the License for the specific language governing permissions
15  * and limitations under the License.
16  * -------------------------------------------------------------------
17  */
18
19 #include <stdio.h>
20 #include <stdint.h>
21 #include <string.h>
22 #include <interf_dec.h>
23 #include <interf_enc.h>
24 #include <dec_if.h>
25
26 int main(int argc, char *argv[]) {
27         void* amrnb = Decoder_Interface_init();
28         void* amrnb_enc = Encoder_Interface_init(0);
29         void* amrwb = D_IF_init();
30         Decoder_Interface_exit(amrnb);
31         Encoder_Interface_exit(amrnb_enc);
32         D_IF_exit(amrwb);
33         return 0;
34 }
35