[Asterisk-code-review] format_sln: add .slin as supported file extension (asterisk[18])

Michael Bradeen asteriskteam at digium.com
Tue Mar 14 10:26:59 CDT 2023


Michael Bradeen has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/19972 )


Change subject: format_sln: add .slin as supported file extension
......................................................................

format_sln: add .slin as supported file extension

Adds '.slin' to existing supported file extensions:
.sln and .raw

ASTERISK-30465

Change-Id: Ice848addc03a64c8404b87cb5d3b13399c57e496
---
M formats/format_sln.c
1 file changed, 15 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/72/19972/1

diff --git a/formats/format_sln.c b/formats/format_sln.c
index 80d3484..98985ba 100644
--- a/formats/format_sln.c
+++ b/formats/format_sln.c
@@ -127,7 +127,7 @@
 static struct ast_frame *slinear_read(struct ast_filestream *s, int *whennext){return generic_read(s, whennext, 320);}
 static struct ast_format_def slin_f = {
 	.name = "sln",
-	.exts = "sln|raw",
+	.exts = "sln|slin|raw",
 	.write = slinear_write,
 	.seek = slinear_seek,
 	.trunc = slinear_trunc,

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/19972
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 18
Gerrit-Change-Id: Ice848addc03a64c8404b87cb5d3b13399c57e496
Gerrit-Change-Number: 19972
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Bradeen <mbradeen at sangoma.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20230314/9f582838/attachment.html>


More information about the asterisk-code-review mailing list