<p>Boris P. Korzun has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/15415">View Change</a></p><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;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/15/15415/1</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/+/15415">change 15415</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/+/15415"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: I749bda287ba1ab20c1e0af5e4c0153817d47873b </div>
<div style="display:none"> Gerrit-Change-Number: 15415 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Boris P. Korzun <drtr0jan@yandex.ru> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>