Benny Prijono | a4bf021 | 2006-02-10 15:57:08 +0000 | [diff] [blame] | 1 | /* $Id$ */ |
| 2 | /* |
Benny Prijono | a771a51 | 2007-02-19 01:13:53 +0000 | [diff] [blame] | 3 | * Copyright (C)2003-2007 Benny Prijono <benny@prijono.org> |
Benny Prijono | a4bf021 | 2006-02-10 15:57:08 +0000 | [diff] [blame] | 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation; either version 2 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, write to the Free Software |
| 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 18 | */ |
| 19 | #ifndef __PJMEDIA_CODEC_CONFIG_H__ |
| 20 | #define __PJMEDIA_CODEC_CONFIG_H__ |
| 21 | |
| 22 | #include <pjmedia/types.h> |
| 23 | |
Benny Prijono | fe9bffd | 2007-01-27 17:44:13 +0000 | [diff] [blame] | 24 | /* |
| 25 | * Include config_auto.h if autoconf is used (PJ_AUTOCONF is set) |
| 26 | */ |
| 27 | #if defined(PJ_AUTOCONF) |
| 28 | # include <pjmedia-codec/config_auto.h> |
| 29 | #endif |
Benny Prijono | a4bf021 | 2006-02-10 15:57:08 +0000 | [diff] [blame] | 30 | |
Benny Prijono | 4381efe | 2006-03-16 14:24:26 +0000 | [diff] [blame] | 31 | /** |
Benny Prijono | a837c30 | 2006-04-27 22:36:40 +0000 | [diff] [blame] | 32 | * Unless specified otherwise, L16 codec is included by default. |
| 33 | */ |
| 34 | #ifndef PJMEDIA_HAS_L16_CODEC |
| 35 | # define PJMEDIA_HAS_L16_CODEC 1 |
| 36 | #endif |
| 37 | |
| 38 | |
| 39 | /** |
Benny Prijono | 4381efe | 2006-03-16 14:24:26 +0000 | [diff] [blame] | 40 | * Unless specified otherwise, GSM codec is included by default. |
Benny Prijono | a4bf021 | 2006-02-10 15:57:08 +0000 | [diff] [blame] | 41 | */ |
Benny Prijono | 4381efe | 2006-03-16 14:24:26 +0000 | [diff] [blame] | 42 | #ifndef PJMEDIA_HAS_GSM_CODEC |
| 43 | # define PJMEDIA_HAS_GSM_CODEC 1 |
Benny Prijono | a4bf021 | 2006-02-10 15:57:08 +0000 | [diff] [blame] | 44 | #endif |
| 45 | |
| 46 | |
Benny Prijono | 4381efe | 2006-03-16 14:24:26 +0000 | [diff] [blame] | 47 | /** |
| 48 | * Unless specified otherwise, Speex codec is included by default. |
Benny Prijono | eb30bf5 | 2006-03-04 20:43:52 +0000 | [diff] [blame] | 49 | */ |
Benny Prijono | 4381efe | 2006-03-16 14:24:26 +0000 | [diff] [blame] | 50 | #ifndef PJMEDIA_HAS_SPEEX_CODEC |
| 51 | # define PJMEDIA_HAS_SPEEX_CODEC 1 |
Benny Prijono | eb30bf5 | 2006-03-04 20:43:52 +0000 | [diff] [blame] | 52 | #endif |
| 53 | |
Nanang Izzuddin | 829ac02 | 2008-05-27 00:24:26 +0000 | [diff] [blame] | 54 | /** |
| 55 | * Speex codec default complexity setting. |
| 56 | */ |
| 57 | #ifndef PJMEDIA_CODEC_SPEEX_DEFAULT_COMPLEXITY |
| 58 | # define PJMEDIA_CODEC_SPEEX_DEFAULT_COMPLEXITY 2 |
| 59 | #endif |
| 60 | |
| 61 | /** |
| 62 | * Speex codec default quality setting. |
| 63 | */ |
| 64 | #ifndef PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY |
| 65 | # define PJMEDIA_CODEC_SPEEX_DEFAULT_QUALITY 5 |
| 66 | #endif |
| 67 | |
Benny Prijono | eb30bf5 | 2006-03-04 20:43:52 +0000 | [diff] [blame] | 68 | |
Benny Prijono | 00cae61 | 2006-07-31 15:19:36 +0000 | [diff] [blame] | 69 | /** |
| 70 | * Unless specified otherwise, iLBC codec is included by default. |
| 71 | */ |
| 72 | #ifndef PJMEDIA_HAS_ILBC_CODEC |
| 73 | # define PJMEDIA_HAS_ILBC_CODEC 1 |
| 74 | #endif |
| 75 | |
| 76 | |
Benny Prijono | 7ffd775 | 2008-03-17 14:07:53 +0000 | [diff] [blame] | 77 | /** |
| 78 | * Unless specified otherwise, G.722 codec is included by default. |
| 79 | */ |
| 80 | #ifndef PJMEDIA_HAS_G722_CODEC |
| 81 | # define PJMEDIA_HAS_G722_CODEC 1 |
| 82 | #endif |
| 83 | |
Benny Prijono | a4bf021 | 2006-02-10 15:57:08 +0000 | [diff] [blame] | 84 | |
| 85 | #endif /* __PJMEDIA_CODEC_CONFIG_H__ */ |
Benny Prijono | fe9bffd | 2007-01-27 17:44:13 +0000 | [diff] [blame] | 86 | |