mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user