cleemesser / pyo

Automatically exported from code.google.com/p/pyo
GNU General Public License v3.0
0 stars 0 forks source link

Some examples crash on windows 7 (no microphone) #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run 01_MusicBox.py on windows 7 machine with no input device.

What is the expected output? What do you see instead?

I would expect an informative error message.
I see a message that python.exe has terminated

What version of the product are you using? On what operating system?

6.1. ON windows 7

Please provide any additional information below.

Problem is solved by setting duplex=0  in the server constructor.

Original issue reported on code.google.com by PaulJohnLeonard on 4 May 2012 at 3:27

GoogleCodeExporter commented 8 years ago
Ouch, yes. I will set duplex=0 for all examples that don't need audio input.

Original comment by belan...@gmail.com on 9 May 2012 at 10:14

GoogleCodeExporter commented 8 years ago
DOne.

Original comment by belan...@gmail.com on 9 May 2012 at 10:35