format_sln: add .slin as supported file extension
Adds '.slin' to existing supported file extensions: .sln and .raw ASTERISK-30465 Change-Id: Ice848addc03a64c8404b87cb5d3b13399c57e496
This commit is contained in:
parent
76da3c71a7
commit
9504d17ad2
|
@ -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'.
|
|
@ -127,7 +127,7 @@ static off_t slinear_tell(struct ast_filestream *fs)
|
|||
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,
|
||||
|
|
Loading…
Reference in New Issue