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\"" <[EMAIL PROTECTED]> -----

Date: Mon, 13 Mar 2006 23:57:34 +0100
From: "Martin v. L?wis" <[EMAIL PROTECTED]>
To: Trent Mick <[EMAIL PROTECTED]>
Cc: python-dev@python.org, Thomas Heller <[EMAIL PROTECTED]>
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
[EMAIL PROTECTED]
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to