mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-15 17:27:02 +00:00
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@54290 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -668,6 +668,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 */
|
||||
|
Reference in New Issue
Block a user