View Issue Details

IDProjectCategoryView StatusLast Update
0036831FPCFCLpublic2020-03-27 07:29
ReporterNick FaroAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionProduct Build 
Target VersionFixed in Version3.3.1 
Summary0036831: TWavWriter.WriteBuf has a leftover debugging statement
DescriptionLine 136 in the fpWavWriter unit is a WriteLN statement, which is usually called in a tight loop. This makes the output of TWavWriter take much longer than it should just spitting out debug information. The solution is to just delete the line.

https://github.com/newpascal/freepascal/blob/master/packages/fcl-sound/src/fpwavwriter.pas#L136
TagsNo tags attached.
Fixed in Revision44373
FPCOldBugId
FPCTarget4.0.0
Attached Files

Activities

Nick Faro

2020-03-27 00:39

reporter   ~0121723

I got the line number wrong, it's at: https://github.com/newpascal/freepascal/blob/freepascal/packages/fcl-sound/src/fpwavwriter.pas#L140

Michael Van Canneyt

2020-03-27 07:29

administrator   ~0121725

Fixed. Removed similar statements in reader, thanks for reporting!

Issue History

Date Modified Username Field Change
2020-03-27 00:36 Nick Faro New Issue
2020-03-27 00:39 Nick Faro Note Added: 0121723
2020-03-27 07:26 Michael Van Canneyt Project Lazarus => FPC
2020-03-27 07:26 Michael Van Canneyt Assigned To => Michael Van Canneyt
2020-03-27 07:26 Michael Van Canneyt Status new => assigned
2020-03-27 07:29 Michael Van Canneyt Status assigned => resolved
2020-03-27 07:29 Michael Van Canneyt Resolution open => fixed
2020-03-27 07:29 Michael Van Canneyt Fixed in Version => 3.3.1
2020-03-27 07:29 Michael Van Canneyt Fixed in Revision => 44373
2020-03-27 07:29 Michael Van Canneyt FPCTarget => 4.0.0
2020-03-27 07:29 Michael Van Canneyt Note Added: 0121725