Introduce Cisco G.726-32 capability (g726aal2 form)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43429 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Paul Cadach
2006-09-21 18:48:53 +00:00
parent 67142b9d5f
commit 5acd11f180
4 changed files with 61 additions and 4 deletions

View File

@@ -121,4 +121,23 @@ protected:
int comfortNoise;
int scrambled;
};
#define CISCO_G726r32 "G726r32"
class AST_CiscoG726Capability : public H323NonStandardAudioCapability {
PCLASSINFO(AST_CiscoG726Capability, H323NonStandardAudioCapability);
public:
/* Create a new Cisco G.726 capability */
AST_CiscoG726Capability(int rx_frames = 80);
/* Create a copy of the object. */
virtual PObject * Clone() const;
/* Create the codec instance, allocating resources as required. */
virtual H323Codec * CreateCodec(H323Codec::Direction direction) const;
/* Get the name of the media data format this class represents. */
virtual PString GetFormatName() const;
};
#endif /* __AST_H323CAPS_H */