[asterisk-bugs] [JIRA] (ASTERISK-26613) format_wav: wav16 format read file only by 320 - half of frame

Asterisk Team (JIRA) noreply at issues.asterisk.org
Mon Dec 12 12:01:10 CST 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234207#comment-234207 ] 

Asterisk Team commented on ASTERISK-26613:
------------------------------------------

Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

> format_wav: wav16 format read file only by 320 - half of frame
> --------------------------------------------------------------
>
>                 Key: ASTERISK-26613
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26613
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Formats/format_wav
>    Affects Versions: 13.4.0, 13.7.0
>         Environment: Ubuntu 14.04.5 LTS 
> Linux XXX 3.13.0-92-generic #139-Ubuntu SMP Tue Jun 28 20:42:32 UTC 2016 i686 i686 i686 GNU/Linux
>            Reporter: Vitaly K
>            Assignee: Vitaly K
>         Attachments: wav16_readed_by_320bytes_bugfix.patch
>
>
> format_wav.c in function wav_read() test fs-hz in line 
> bytes = (fs->hz == 16000 ? (WAV_BUF_SIZE * 2) : WAV_BUF_SIZE);
> but fs->hz never set and always 0 by default
> This cause read only 1/2 of frame for wav16 files.
> For outgoing channels cause send only 320 bytes of data.
> For incoming channels send 640  maybe smoother in effect.
> For repeat problem run from CLI something like 
>  channel originate SIP/200 at SIP_HOST application  Playback               7bx.ru_armin_van_buuren_feat._cindy_alma_-_beautiful_life_radio_edit.riff.le
> when 
> a) 7bx.ru_armin_van_buuren_feat._cindy_alma_-_beautiful_life_radio_edit.riff.le.wav16 is 16000 Hz 1channel 16 bit RIFF file
> b) only slin16 codec enabled for SIP_HOST by
> disallow=all
> allow=slin16
> I think all version of asterisk minimum since 13.4.0 affected by this bug.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list