[Bug 29511] IrfanView fails to play a specific WAV file

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jan 2 11:43:55 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=29511

--- Comment #3 from Jörg Höhle <hoehle at users.sourceforge.net> 2012-01-02 11:43:55 CST ---
trace:mciwave:WAVE_mciReadFmt Chunk Found ckid=data fccType= cksize=025D4FC0
trace:mciwave:WAVE_ConvertByteToTimeFormat val=39669696=0x025d4fc0 [tf=0] =>
ret=224885=0x00036e75
trace:mciwave:WAVE_ConvertTimeFormatToByte val=224885=0x00036e75 [tf=0] =>
ret=39669714
This is a rounding issue. The file has 39669696 bytes that play for
224.88489... seconds.  The length is rounded to 224.885s or 39669714 bytes and
that is larger.

How does native round? Using my MCI shell from bug #20232, comment #10:
open Z:\media\tmpfs\staff.wav alias x
set x time format samples
status x length
9917424
set x time format ms
status x length
224885

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list