[Asterisk-code-review] format_sln: add .slin as supported file extension (asterisk[20])
Michael Bradeen
asteriskteam at digium.com
Thu Mar 16 13:46:49 CDT 2023
Michael Bradeen has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/20002 )
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
---
A doc/CHANGES-staging/format_sln_support_for_slin.txt
M formats/format_sln.c
2 files changed, 20 insertions(+), 1 deletion(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/02/20002/1
diff --git a/doc/CHANGES-staging/format_sln_support_for_slin.txt b/doc/CHANGES-staging/format_sln_support_for_slin.txt
new file mode 100644
index 0000000..3d66536
--- /dev/null
+++ b/doc/CHANGES-staging/format_sln_support_for_slin.txt
@@ -0,0 +1,5 @@
+Subject: format_sln
+
+format_sln now recognizes '.slin' as a valid
+file extension in addition to the existing
+'.sln' and '.raw'.
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/+/20002
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 20
Gerrit-Change-Id: Ice848addc03a64c8404b87cb5d3b13399c57e496
Gerrit-Change-Number: 20002
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/20230316/69ee703f/attachment.html>
More information about the asterisk-code-review
mailing list