[python-win32] Fwd: Re: [Python-Dev] Still looking for volunteer to run Windows buildbot

Trent Mick trentm at ActiveState.com
Tue Mar 14 00:20:18 CET 2006


Does anybody know of a way to programmatically check if a particular
Windows box has a soundcard installed and configured?

Background:
I'm running a Windows buildbot for Python and the test suite fails on
test_winsound.py because the box doesn't have a sound card setup. (The
"Sound" Control Panel items says there are "No Playback Devices" for
Sound Playback.)

TIA,
Trent


----- Forwarded message from "\"Martin v. L?wis\"" <martin at v.loewis.de> -----

Date: Mon, 13 Mar 2006 23:57:34 +0100
From: "Martin v. L?wis" <martin at v.loewis.de>
To: Trent Mick <trentm at activestate.com>
Cc: python-dev at python.org, Thomas Heller <theller at python.net>
Subject: Re: [Python-Dev] Still looking for volunteer to run Windows buildbot

Trent Mick wrote:
> I do have a sound card in that box, however, the "Sounds and Multimedia
> Properties" dialog (off Control Panel) says that there are "No Playback
> Devices" for Sound Playback. So I guess that is it. Maybe the sound card
> in that box is not hooked up. Grrr. I certainly don't care about the
> sound card for that box but I don't want the test suite to keep
> reporting a spurious failure.

Now, if there was a reliable check whether a soundcard is present, that
check could be run as a prerequisite, then raising TestSkipped if no
soundcard is present.

Regards,
Martin

----- End forwarded message -----

-- 
Trent Mick
TrentM at ActiveState.com


More information about the Python-win32 mailing list