aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-03 17:39:18 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-03 17:39:18 +0000
commitbbd2b8e467973919d3e924c41df4b64a40daef71 (patch)
tree17e8eaf1d117185f52e077c873b07085cc501512 /include
parentfc2a24fdc888e7c8515e40c3d835976819861163 (diff)
1.4 version of the dead PLC code fix.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@267539 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/translate.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/asterisk/translate.h b/include/asterisk/translate.h
index cace23627..e4368d69c 100644
--- a/include/asterisk/translate.h
+++ b/include/asterisk/translate.h
@@ -60,10 +60,6 @@ struct ast_trans_pvt; /* declared below */
* or deallocation, nor any locking, because all of this is done in
* the generic code.
*
- * Translators using generic plc (packet loss concealment) should
- * supply a non-zero plc_samples indicating the size (in samples)
- * of artificially generated frames and incoming data.
- * Generic plc is only available for dstfmt = SLINEAR
*/
struct ast_translator {
const char name[80]; /*!< Name of translator */
@@ -102,8 +98,8 @@ struct ast_translator {
int buf_size;
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 plc_samples; /* Unused. Kept for ABI purposes */
+ int useplc; /* Unused. Kept for ABI purposes */
int native_plc; /*!< true if the translator can do native plc */
struct ast_module *module; /* opaque reference to the parent module */