<p>Michael Bradeen has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/20001">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">format_sln: add .slin as supported file extension<br><br>Adds '.slin' to existing supported file extensions:<br>.sln and .raw<br><br>ASTERISK-30465<br><br>Change-Id: Ice848addc03a64c8404b87cb5d3b13399c57e496<br>---<br>A doc/CHANGES-staging/format_sln_support_for_slin.txt<br>M formats/format_sln.c<br>2 files changed, 20 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/01/20001/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/doc/CHANGES-staging/format_sln_support_for_slin.txt b/doc/CHANGES-staging/format_sln_support_for_slin.txt</span><br><span>new file mode 100644</span><br><span>index 0000000..3d66536</span><br><span>--- /dev/null</span><br><span>+++ b/doc/CHANGES-staging/format_sln_support_for_slin.txt</span><br><span>@@ -0,0 +1,5 @@</span><br><span style="color: hsl(120, 100%, 40%);">+Subject: format_sln</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+format_sln now recognizes '.slin' as a valid</span><br><span style="color: hsl(120, 100%, 40%);">+file extension in addition to the existing</span><br><span style="color: hsl(120, 100%, 40%);">+'.sln' and '.raw'.</span><br><span>diff --git a/formats/format_sln.c b/formats/format_sln.c</span><br><span>index 80d3484..98985ba 100644</span><br><span>--- a/formats/format_sln.c</span><br><span>+++ b/formats/format_sln.c</span><br><span>@@ -127,7 +127,7 @@</span><br><span> static struct ast_frame *slinear_read(struct ast_filestream *s, int *whennext){return generic_read(s, whennext, 320);}</span><br><span> static struct ast_format_def slin_f = {</span><br><span>     .name = "sln",</span><br><span style="color: hsl(0, 100%, 40%);">-        .exts = "sln|raw",</span><br><span style="color: hsl(120, 100%, 40%);">+  .exts = "sln|slin|raw",</span><br><span>    .write = slinear_write,</span><br><span>      .seek = slinear_seek,</span><br><span>        .trunc = slinear_trunc,</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/20001">change 20001</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/+/20001"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: certified/18.9 </div>
<div style="display:none"> Gerrit-Change-Id: Ice848addc03a64c8404b87cb5d3b13399c57e496 </div>
<div style="display:none"> Gerrit-Change-Number: 20001 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Michael Bradeen <mbradeen@sangoma.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>