diff options
Diffstat (limited to 'formats')
-rw-r--r-- | formats/format_pcm.c | 1 | ||||
-rw-r--r-- | formats/format_vox.c | 1 | ||||
-rw-r--r-- | formats/format_wav.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/formats/format_pcm.c b/formats/format_pcm.c index 4e846d7cf..674c8b59a 100644 --- a/formats/format_pcm.c +++ b/formats/format_pcm.c @@ -507,6 +507,7 @@ static struct ast_format_def alaw_f = { static struct ast_format_def pcm_f = { .name = "pcm", .exts = "pcm|ulaw|ul|mu|ulw", + .mime_types = "audio/basic", .write = pcm_write, .seek = pcm_seek, .trunc = pcm_trunc, diff --git a/formats/format_vox.c b/formats/format_vox.c index b63e225be..023c40967 100644 --- a/formats/format_vox.c +++ b/formats/format_vox.c @@ -128,6 +128,7 @@ static off_t vox_tell(struct ast_filestream *fs) static struct ast_format_def vox_f = { .name = "vox", .exts = "vox", + .mime_types = "audio/x-vox", .write = vox_write, .seek = vox_seek, .trunc = vox_trunc, diff --git a/formats/format_wav.c b/formats/format_wav.c index 81a686e36..ec7e3d379 100644 --- a/formats/format_wav.c +++ b/formats/format_wav.c @@ -532,6 +532,7 @@ static struct ast_format_def wav16_f = { static struct ast_format_def wav_f = { .name = "wav", .exts = "wav", + .mime_types = "audio/wav|audio/x-wav", .open = wav_open, .rewrite = wav_rewrite, .write = wav_write, |