[Bug 39709] New: winmm:mci makes a buzzing sound
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Nov 30 13:24:32 CST 2015
https://bugs.winehq.org/show_bug.cgi?id=39709
Bug ID: 39709
Summary: winmm:mci makes a buzzing sound
Product: Wine
Version: 1.8-rc2
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: winmm&mci
Assignee: wine-bugs at winehq.org
Reporter: fgouget at codeweavers.com
Distribution: ---
Running winmm:mci makes a buzzing sound. The first line (of many) where this
happens is the line below from test_playWAVE():
/* A second play caused Wine<1.1.33 to hang */
err = mciSendStringA("play mysound from 500 to 220:5:0 wait", NULL, 0,
NULL);
This is because the test records sound to tempfile.wav before playing it back.
So if the recording levels are set a bit high tempfile.wav can record
electrical noise, the buzzing sound, and thus makes noise when playing it back.
This is confirmed by changing the recording level in the KDE mixer prior to
running the test:
* Setting it all the way down avoids the buzzing sound.
* Setting it even moderately high causes the buzzing sound.
Conformance tests are supposed to not make noises when not run in interactive
mode so this should be fixed. I see two ways for this:
* Set and restore the recording level in test_recordWAVE().
* Create tempfile.wav by hand instead of relying on the output of
test_recordWAVE().
--
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