Summary: | ASTERISK-07728: [patch] Asterisk native sounds distort consistently(ulaw) | ||
Reporter: | mustardman (mustardman) | Labels: | |
Date Opened: | 2006-09-12 10:32:12 | Date Closed: | 2006-11-01 15:59:16.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) padulaw.c | |
Description: | Many people report this issue. It can best be described as consistent clicks and pops that are 100% reproducible in exactly the same way every time a certain sound file is played. Someone from the asterisk-user newsgroup determined that it is a problem with Asterisk not padding the files to even 20ms intervals. If anyone else wants to try this experiment I've enclosed the simple C program I wrote below. If you compile it and call it padulaw here is how I fixed all the files: find /var/lib/asterisk/sounds -type f -name '*.ulaw' | xargs padulaw This program could be easily modified to pad .sln files to a multiple of 320 bytes (the files would be padded with 0x0000 rather than 0xff). For Alaw it would be 0x55. ****** ADDITIONAL INFORMATION ****** Hopefully we can get this fix/functionality incorporated into Asterisk at some point. | ||
Comments: | By: mustardman (mustardman) 2006-09-12 10:35:39 The second half of the description is a cut and past from the post on the mailing list. It is not my code. I am simply posting the explanation and code from the mailing list to here By: Serge Vecher (serge-v) 2006-09-13 10:52:46 can you please get a disclaimer on file? By: mustardman (mustardman) 2006-09-15 11:46:08 Please clarify how I "get a disclaimer on file" By: Serge Vecher (serge-v) 2006-09-18 09:34:04 By faxing or emailing one of the disclaimer forms found at the bottom of http://bugs.digium.com/main_page.php to Digium. By: jmls (jmls) 2006-11-01 05:55:33.000-0600 mustardman, did you get your disclaimer sent ? By: mustardman (mustardman) 2006-11-01 15:35:05.000-0600 Not trying to be rude and I do want to help this community. I feel these requirements are too much trouble for me to go through just to try pass on the knowledge. Sorry By: jmls (jmls) 2006-11-01 15:59:16.000-0600 closing because we won't be getting a disclaimer |