[Home]

Summary:DAHTOOL-00059: dahdi_monitor reports error writing wav files
Reporter:Richard Miller (ulogic)Labels:
Date Opened:2012-06-25 08:00:04Date Closed:2012-09-21 12:43:36
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Utilities
Versions:2.5.0.2 2.6.0 2.6.1 2.6.2 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:( 0) dahdi_monitor.diff
Description:After hitting control-C when writing a wav file, dahdi_monitor reports
"Failed to read in a full wav header.  Expect bad things."

Also when using the -F output option, the wav header is not written.

There are two possible ways to correct the first problem.
1. Change the fopen mode from "w" to "w+".
2. Don't bother reading in the header as we already have a copy in RAM.

I chose to use method 2 in the patch that will follow.  (It can't be attached when creating the issue.)

The second problem is also corrected in the patch I submitted.
Comments:By: Richard Miller (ulogic) 2012-09-20 23:22:36.766-0500

I created this issue and submitted the patch three months ago.  Why has no action been taken on this issue?

By: Russ Meyerriecks (rmeyerriecks) 2012-09-21 10:00:14.803-0500

I'll try to review and pull it in soon, thank you for your patience.

By: Russ Meyerriecks (rmeyerriecks) 2012-09-21 12:43:36.142-0500

http://svnview.digium.com/svn/dahdi?view=revision&revision=10717