diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-24 15:14:02 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-24 15:14:02 +0000 |
commit | fb544759612fa82644e9cea168b176cb04bfb038 (patch) | |
tree | 4281df266d97b329297423b6935c929c6be36ddc /include/asterisk/translate.h | |
parent | bfb9028ee7b60eb0f3ec6feeb4da128a315166fb (diff) |
Fix handling of zero-length frames when a codec is capable of native PLC.
Issue 9183, patch by Mihai.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@65877 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/translate.h')
-rw-r--r-- | include/asterisk/translate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asterisk/translate.h b/include/asterisk/translate.h index 5e28c6236..ec939e6b5 100644 --- a/include/asterisk/translate.h +++ b/include/asterisk/translate.h @@ -104,6 +104,7 @@ struct ast_translator { int desc_size; /*!< size of private descriptor in pvt->pvt, if any */ int plc_samples; /*!< set to the plc block size if used, 0 otherwise */ int useplc; /*!< current status of plc, changed at runtime */ + int native_plc; /*!< true if the translator can do native plc */ struct ast_module *module; /* opaque reference to the parent module */ |