<p>Pau Espin Pedrol has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/10756">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">codec_pref: Log HR2 specifically as never specified<br><br>Change-Id: Ia7d6545710b4bf609c2872e13dcb3b44abfc604e<br>---<br>M src/osmo-bsc/codec_pref.c<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/56/10756/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo-bsc/codec_pref.c b/src/osmo-bsc/codec_pref.c</span><br><span>index 212c2a6..cbe8ef4 100644</span><br><span>--- a/src/osmo-bsc/codec_pref.c</span><br><span>+++ b/src/osmo-bsc/codec_pref.c</span><br><span>@@ -35,7 +35,6 @@</span><br><span>    case GSM0808_PERM_FR1:</span><br><span>               return GSM48_CMODE_SPEECH_V1;</span><br><span>                break;</span><br><span style="color: hsl(0, 100%, 40%);">-  case GSM0808_PERM_HR2:</span><br><span>       case GSM0808_PERM_FR2:</span><br><span>               return GSM48_CMODE_SPEECH_EFR;</span><br><span>               break;</span><br><span>@@ -43,6 +42,8 @@</span><br><span>   case GSM0808_PERM_FR3:</span><br><span>               return GSM48_CMODE_SPEECH_AMR;</span><br><span>               break;</span><br><span style="color: hsl(120, 100%, 40%);">+        case GSM0808_PERM_HR2:</span><br><span style="color: hsl(120, 100%, 40%);">+                LOGP(DMSC, LOGL_FATAL, "Speech HR2 was never specified!\n");</span><br><span>       default:</span><br><span>             LOGP(DMSC, LOGL_FATAL, "Unsupported permitted speech %s selected, "</span><br><span>                     "assuming AMR as channel mode...\n",</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/10756">change 10756</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/10756"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ia7d6545710b4bf609c2872e13dcb3b44abfc604e </div>
<div style="display:none"> Gerrit-Change-Number: 10756 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>