<p>dexter has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/25220">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">codec: add missing osmo_amr_type_name function.<br><br>We have value strings for osmo_amr_type, but we do not have a function<br>that returns us the strings.<br><br>Change-Id: I694f56b032537440db6264df5e6a6aa3a2992175<br>---<br>M include/osmocom/codec/codec.h<br>1 file changed, 3 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/20/25220/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/codec/codec.h b/include/osmocom/codec/codec.h</span><br><span>index cbdad75..58e3a29 100644</span><br><span>--- a/include/osmocom/codec/codec.h</span><br><span>+++ b/include/osmocom/codec/codec.h</span><br><span>@@ -47,6 +47,9 @@</span><br><span>        AMR_NO_DATA = 15,</span><br><span> };</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+static inline const char *osmo_amr_type_name(enum osmo_amr_type type)</span><br><span style="color: hsl(120, 100%, 40%);">+{ return get_value_string(osmo_amr_type_names, type); }</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> enum osmo_amr_quality {</span><br><span>        AMR_BAD = 0,</span><br><span>        AMR_GOOD = 1</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/25220">change 25220</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/libosmocore/+/25220"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I694f56b032537440db6264df5e6a6aa3a2992175 </div>
<div style="display:none"> Gerrit-Change-Number: 25220 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>