bastibe / PySoundCard

PySoundCard is an audio library based on PortAudio, CFFI and NumPy
BSD 3-Clause "New" or "Revised" License
87 stars 9 forks source link

Add close() and relax error handling in start/stop/abort #27

Closed mgeier closed 10 years ago

mgeier commented 10 years ago

All mentioned methods can now be called multiple times in a row without raising an error.

See also https://github.com/bastibe/PySoundCard/pull/14#issuecomment-36116693

mgeier commented 10 years ago

I changed the comment about ignoring errors. I also removed the assignment of NULL. The error message stays the same, though: "Invalid stream pointer".

Can I merge this now or is there still something I have to change?