summaryrefslogtreecommitdiff
path: root/channels/chan_gtalk.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2007-11-06 22:51:48 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2007-11-06 22:51:48 +0000
commit7c56918262079b7bd940ddeefa9a659738d83b08 (patch)
treee611f1c508d4cbd9720858d06c92a4cfaa25dccb /channels/chan_gtalk.c
parent0cd3118a621eb1103bc6ab6d831c43ffb8008a64 (diff)
Commit some cleanups to the format type code.
- Remove the AST_FORMAT_MAX_* types, as these are consuming 3 out of our available 32 bits. - Add a native slin16 type, so that 16kHz codecs can translate without losing resolution. (This doesn't affect anything immediately, until another codec has wb support.) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89071 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_gtalk.c')
-rw-r--r--channels/chan_gtalk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_gtalk.c b/channels/chan_gtalk.c
index 5666af95c..6f106bde9 100644
--- a/channels/chan_gtalk.c
+++ b/channels/chan_gtalk.c
@@ -198,7 +198,7 @@ static int gtalk_get_codec(struct ast_channel *chan);
static const struct ast_channel_tech gtalk_tech = {
.type = "Gtalk",
.description = "Gtalk Channel Driver",
- .capabilities = ((AST_FORMAT_MAX_AUDIO << 1) - 1),
+ .capabilities = AST_FORMAT_AUDIO_MASK,
.requester = gtalk_request,
.send_digit_begin = gtalk_digit_begin,
.send_digit_end = gtalk_digit_end,