diff options
author | pcadach <pcadach@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-21 18:48:53 +0000 |
---|---|---|
committer | pcadach <pcadach@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-21 18:48:53 +0000 |
commit | 3d1a3d4296f43623be6b937592016119822b6b67 (patch) | |
tree | 294862161e1fa9ad9388433e795a8297fc38a729 /channels/h323/caps_h323.h | |
parent | 75a0997a67044612baca0101c33d94d2726e341e (diff) |
Introduce Cisco G.726-32 capability (g726aal2 form)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43429 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323/caps_h323.h')
-rw-r--r-- | channels/h323/caps_h323.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/channels/h323/caps_h323.h b/channels/h323/caps_h323.h index be63e0230..3238dd5c6 100644 --- a/channels/h323/caps_h323.h +++ b/channels/h323/caps_h323.h @@ -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 */ |