mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Add alw as a valid file extension for alaw and ulw as a valid file extension for ulaw.
(closes issue #14001) Reported by: henrikw Patches: alw.diff uploaded by henrikw (license 627) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@161869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -415,7 +415,7 @@ static off_t au_tell(struct ast_filestream *fs)
|
||||
|
||||
static const struct ast_format alaw_f = {
|
||||
.name = "alaw",
|
||||
.exts = "alaw|al",
|
||||
.exts = "alaw|al|alw",
|
||||
.format = AST_FORMAT_ALAW,
|
||||
.write = pcm_write,
|
||||
.seek = pcm_seek,
|
||||
@@ -432,7 +432,7 @@ static const struct ast_format alaw_f = {
|
||||
|
||||
static const struct ast_format pcm_f = {
|
||||
.name = "pcm",
|
||||
.exts = "pcm|ulaw|ul|mu",
|
||||
.exts = "pcm|ulaw|ul|mu|ulw",
|
||||
.format = AST_FORMAT_ULAW,
|
||||
.write = pcm_write,
|
||||
.seek = pcm_seek,
|
||||
|
Reference in New Issue
Block a user