dect
/
asterisk
Archived
13
0
Fork 0

Merged revisions 54290 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r54290 | file | 2007-02-13 20:09:40 -0500 (Tue, 13 Feb 2007) | 2 lines

Add G722 to ast_best_codec. If anyone disagrees with it's placement, feel free to change it. (issue #9045 reported by gork)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54291 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
file 2007-02-14 01:12:21 +00:00
parent bb6564f8e7
commit 4debc4eead
1 changed files with 2 additions and 0 deletions

View File

@ -567,6 +567,8 @@ int ast_best_codec(int fmts)
AST_FORMAT_ULAW,
/*! Unless of course, you're a silly European, so then prefer ALAW */
AST_FORMAT_ALAW,
/*! G.722 is better then all below, but not as common as the above... so give ulaw and alaw priority */
AST_FORMAT_G722,
/*! Okay, well, signed linear is easy to translate into other stuff */
AST_FORMAT_SLINEAR,
/*! G.726 is standard ADPCM, in RFC3551 packing order */