libosmocore[master]: gsm0808: add function gsm0808_extrapolate_speech_codec()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon Jun 19 17:35:26 UTC 2017


Patch Set 7: Code-Review-1

(3 comments)

https://gerrit.osmocom.org/#/c/2831/7/src/gsm/gsm0808_utils.c
File src/gsm/gsm0808_utils.c:

Line 688:  *  \param[in] perm_spch value from where the speech codec is derived from
'from where derived from' is incorrect.
"perm_spch value the speech codec is derived from"
(optionally include "that" or "which" after "value")


Line 704: 	/* Depending on the speech codec type, pick a default codc
(codec)


Line 725: 		break;
why did you drop the 'default: return -EINVAL'? There should be a default case. (loosely related, callers should check for -EINVAL rc)


-- 
To view, visit https://gerrit.osmocom.org/2831
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I257c972e9fdf0dfe940a8d483447085bd62e50a2
Gerrit-PatchSet: 7
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-HasComments: Yes



More information about the gerrit-log mailing list