<p>George Joseph <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/15391">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Joshua Colp: Looks good to me, but someone else must approve
Kevin Harwell: Looks good to me, but someone else must approve
George Joseph: Looks good to me, approved; Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">format_wav: Support of MIME-type for wav16<br><br>Provided a support of a MIME-type for wav16. Added new MIME-type<br>for classic wav.<br><br>ASTERISK-29275 #close<br><br>Change-Id: I749bda287ba1ab20c1e0af5e4c0153817d47873b<br>---<br>M formats/format_wav.c<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/formats/format_wav.c b/formats/format_wav.c</span><br><span>index ec7e3d3..886c8c1 100644</span><br><span>--- a/formats/format_wav.c</span><br><span>+++ b/formats/format_wav.c</span><br><span>@@ -517,6 +517,7 @@</span><br><span> static struct ast_format_def wav16_f = {</span><br><span> .name = "wav16",</span><br><span> .exts = "wav16",</span><br><span style="color: hsl(120, 100%, 40%);">+ .mime_types = "audio/x-wav;codec=pcm;bit=16;rate=16000",</span><br><span> .open = wav_open,</span><br><span> .rewrite = wav_rewrite,</span><br><span> .write = wav_write,</span><br><span>@@ -532,7 +533,7 @@</span><br><span> static struct ast_format_def wav_f = {</span><br><span> .name = "wav",</span><br><span> .exts = "wav",</span><br><span style="color: hsl(0, 100%, 40%);">- .mime_types = "audio/wav|audio/x-wav",</span><br><span style="color: hsl(120, 100%, 40%);">+ .mime_types = "audio/wav|audio/x-wav|audio/x-wav;codec=pcm;bit=16;rate=8000",</span><br><span> .open = wav_open,</span><br><span> .rewrite = wav_rewrite,</span><br><span> .write = wav_write,</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/15391">change 15391</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.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.asterisk.org/c/asterisk/+/15391"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I749bda287ba1ab20c1e0af5e4c0153817d47873b </div>
<div style="display:none"> Gerrit-Change-Number: 15391 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Boris P. Korzun <drtr0jan@yandex.ru> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>