Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ede187f commit 30b4975Copy full SHA for 30b4975
1 file changed
PC/winsound.c
@@ -145,6 +145,7 @@ sound_beep(PyObject *self, PyObject *args)
145
return NULL;
146
}
147
148
+#ifdef _M_IX86
149
else if (whichOS == Win9X) {
150
int speaker_state;
151
/* Force timer into oscillator mode via timer control port. */
@@ -169,6 +170,7 @@ sound_beep(PyObject *self, PyObject *args)
169
170
/* Restore speaker control to original state. */
171
_outp(0x61, speaker_state);
172
173
+#endif /* _M_IX86 */
174
else {
175
assert(!"winsound's whichOS has insane value");
176
0 commit comments