[Asterisk-code-review] translate: generic plc not filled in after translation (asterisk[13])

Kevin Harwell asteriskteam at digium.com
Tue Apr 24 14:38:43 CDT 2018


Kevin Harwell has posted comments on this change. ( https://gerrit.asterisk.org/8820 )

Change subject: translate: generic plc not filled in after translation
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.asterisk.org/#/c/8820/1/main/translate.c
File main/translate.c:

https://gerrit.asterisk.org/#/c/8820/1/main/translate.c@543
PS1, Line 543: 	res.subclass.format = ast_format_cache_get_slin_by_rate(8000); /* ref bumped on dup */
> What happens with other sample rate paths?
I don't understand the question. We only try to fill with generic plc on frames of 8K slin. Before setting the format here I check that that was format that was going to be written to. Otherwise NULL is returned and work like they always have.



-- 
To view, visit https://gerrit.asterisk.org/8820
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: comment
Gerrit-Change-Id: I133d084da87adef913bf2ecc9c9240e3eaf4f40a
Gerrit-Change-Number: 8820
Gerrit-PatchSet: 1
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Comment-Date: Tue, 24 Apr 2018 19:38:43 +0000
Gerrit-HasComments: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180424/4934476e/attachment.html>


More information about the asterisk-code-review mailing list