Summary:ASTERISK-08843: [patch] know which file format is currently playing
Reporter:Clod Patry (junky)Labels:
Date Opened:2007-02-19 12:50:25.000-0600Date Closed:2007-03-06 19:06:59.000-0600
Versions:Frequency of
Environment:Attachments:( 0) file_format.diff
Description:Right now, when streaming a file, there's no way to rapidly know which file extension is currently playing.
This patch allow you to see the specific file format which is playing.

I'll explain a bit more:
Imagine you have many formats in the same basedir, ulaw and alaw.
If you stream a specific file, based on the driver, you won't know if it's ulaw or alaw. So if someone reports sound quality problem with a specific sound, you have to perform more operations to find out in which file format has small issue.

   -- Playing 'vm-youhave' (language 'en')
So you dont know if the quality issues is in ulaw or alaw.
   -- Playing 'vm-youhave.alaw' (language 'en')

So you could easily report issue to the sound engineers.


Since, there's some issues with some format sounds (http://bugs.digium.com/view.php?id=8869), im sure knowing the format could help.
Comments:By: Clod Patry (junky) 2007-02-19 12:59:43.000-0600

I realize that patch isnt working if case of transcoding, let me update it.

By: Clod Patry (junky) 2007-02-19 13:11:01.000-0600

Latest attachment work like it should, with or without transcoding.

By: Serge Vecher (serge-v) 2007-02-19 14:21:52.000-0600

I think the top block should be marked as debug output within an if block - I don't believe this info is useful, unless debugging is wanted.

By: Clod Patry (junky) 2007-02-19 14:23:39.000-0600

that block is already #ifdef.

By: Russell Bryant (russell) 2007-03-06 19:06:59.000-0600

This has been added to the trunk in rev 58208, thanks!