jpippy/pyo

Server().boot() crashes if no input device available

Closed this issue · 2 comments

What steps will reproduce the problem?
1. No input device is available (e.g. with Windows 7 and a soundcard with the 
mic/linein unplugged)
2. Booting the Server crashes python

What is the expected output? What do you see instead?
Possibilities: 
* the input should simply be disabled
* an error message should indicate that the server could not boot
* the Server should automoatically use duplex 0 and boot (at the moment setting 
duplex to 0 does not help, python still crashes)

What version of the product are you using? On what operating system?
pyo 0.03, python 2.6.5, Windows 7

Please provide any additional information below.
The problem is linked to portaudio open stream I think...


Original issue reported on code.google.com by c.frauen...@sussex.ac.uk on 13 Apr 2011 at 1:08

duplex 0 is intended to manage this case... I'll see what is the problem!

Original comment by belan...@gmail.com on 13 Apr 2011 at 1:53

Fixed in svn. Will be in version 0.04.

Original comment by belan...@gmail.com on 21 Apr 2011 at 11:05

  • Changed state: Fixed