http://bugs.winehq.org/show_bug.cgi?id=33722
Bug #: 33722 Summary: Stereo IMA ADPCM encoding in WINE produces loud static instead of sound Product: Wine Version: 1.3.8 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msacm32 AssignedTo: wine-bugs@winehq.org ReportedBy: Nachanon_Vetjasit@hotmail.com Classification: Unclassified
I've been using Microsoft Sound Recorder to convert PCM (44100Hz 16-bit Stereo) wave file to IMA ADPCM (44100Hz 4-bit Stereo), and saved to a wave file.
When I played the file in MPlayer, instead of the desired sound, it played a loud static on the right channel, and a mashup of both original channels on the left channel.
Mono encoding didn't affected though.
Other codecs are fine, except PCM (crashes; bug #26388), MS ADPCM and MP3 (unavailable).
To reproduce: - Start Microsoft Sound Recorder (use Windows XP version or below): $ wine sndrec32.exe - Open some PCM wave file that is 44100Hz 16-bit Stereo. - Go to File > Properties - Click "Convert Now" - Choose "IMA ADPCM" codec with 44100Hz 4-bit Stereo configuration. - Click "OK" - Save it to another wave file. (No matter play button is grayed out or not) - Play that wave file with any player that supports IMA ADPCM. You'll hear a loud static on the right channel, and mashed-up sound on the left.
Another thing is after encoded, Sound Recorder saw a doubled length of audio, MPlayer also saw so. When played, playhead moved twice the normal speed. (Which is a strange behavior)
Note: I filed this as msacm32 since Sound Recorder is using it directly for encoding.
Using WINE 1.3.8 (source) on Debian GNU/Linux 5.0 (i386: Intel Pentium 4 2.66GHz) WINE Audio Driver: ALSA 44100Hz 16bit (Full Hardware Acceleration) WINE installed without GStreamer support.
http://bugs.winehq.org/show_bug.cgi?id=33722
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
http://bugs.winehq.org/show_bug.cgi?id=33722
--- Comment #1 from Andrew Eikum aeikum@codeweavers.com --- Created attachment 47260 --> http://bugs.winehq.org/attachment.cgi?id=47260 imaadpcm32: Fix source offsets when converting stereo PCM to IMAADPCM
This patch fixes the broken right channel. The audio still sounds pretty terrible though, so I guess there's another problem with the conversion.
http://bugs.winehq.org/show_bug.cgi?id=33722
--- Comment #2 from Nachanon Vetjasit Nachanon_Vetjasit@hotmail.com --- On WINE 1.7.15 with attachment #47260 applied, encoded right channel is no longer producing static, and channel isolation seems to be okay.
Bad-quality conversion and doubled-length timeline issue still persist, but I'll file another bug for that.
WINE 1.7.15 (git) with attachment #47260 on Debian GNU/Linux 5.0 (i386: Intel Pentium 4 2.66GHz) WINE Windows Version: Windows ME WINE Audio Driver: winealsa.drv WINE installed without XInput2, OSMesa, OpenCL, CMS, GStreamer and OSS support Sound Recorder: sndrec32.exe from Microsoft Windows ME
https://bugs.winehq.org/show_bug.cgi?id=33722
--- Comment #3 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.51 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=33722
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #4 from super_man@post.com --- (In reply to Austin English from comment #3)
This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.51 or newer) wine?
The patch still applies cleanly against 1.7.51 so it haven't been merged.
https://bugs.winehq.org/show_bug.cgi?id=33722
--- Comment #5 from super_man@post.com --- patching file dlls/imaadp32.acm/imaadp32.c
against wine 1.9.7
https://bugs.winehq.org/show_bug.cgi?id=33722
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
https://bugs.winehq.org/show_bug.cgi?id=33722
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com --- Andrew, do you mind sending your patch from comment 1?
https://bugs.winehq.org/show_bug.cgi?id=33722
--- Comment #7 from Andrew Eikum aeikum@codeweavers.com --- (In reply to Bruno Jesus from comment #6)
Andrew, do you mind sending your patch from comment 1?
Sure, this is in Wine now.
https://bugs.winehq.org/show_bug.cgi?id=33722
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #8 from Zebediah Figura z.figura12@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commit/0f0fb984985aa08146996e04baf2b3....
https://bugs.winehq.org/show_bug.cgi?id=33722
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gijsvrm@gmail.com, | |Nachanon_Vetjasit@hotmail.c | |om
--- Comment #9 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Nachanon Vetjasit from comment #0)
-snip-
Could you confirm that it is fixed? If so, mark it fixed and fill the "fixed by sha-1" field with 0f0fb984985aa08146996e04baf2b3d6e58abf46
https://bugs.winehq.org/show_bug.cgi?id=33722
--- Comment #10 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Zebediah Figura from comment #8)
Fixed by https://source.winehq.org/git/wine.git/commit/ 0f0fb984985aa08146996e04baf2b3d6e58abf46.
Now that you have the power, I guess this one can be marked fixed as well? ;)
https://bugs.winehq.org/show_bug.cgi?id=33722
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |0f0fb984985aa08146996e04baf | |2b3d6e58abf46 Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #11 from Zebediah Figura z.figura12@gmail.com --- Marking fixed.
https://bugs.winehq.org/show_bug.cgi?id=33722
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.0-rc4.
https://bugs.winehq.org/show_bug.cgi?id=33722
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x
https://bugs.winehq.org/show_bug.cgi?id=33722
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |---
--- Comment #13 from Michael Stefaniuc mstefani@winehq.org --- Removing the 2.0.x milestone from bugs included in 2.0.5.