remove pyaudio try/accept, as we catch it in sound.py
This commit is contained in:
parent
f0525a76fb
commit
33984b1f60
11
thirdparty/pyaudio.py
vendored
11
thirdparty/pyaudio.py
vendored
@ -92,16 +92,7 @@ __author__ = "Hubert Pham"
|
|||||||
__version__ = "0.2.4"
|
__version__ = "0.2.4"
|
||||||
__docformat__ = "restructuredtext en"
|
__docformat__ = "restructuredtext en"
|
||||||
|
|
||||||
import sys
|
import _portaudio as pa
|
||||||
|
|
||||||
# attempt to import PortAudio
|
|
||||||
try:
|
|
||||||
import _portaudio as pa
|
|
||||||
except ImportError:
|
|
||||||
print "Please build and install the PortAudio Python " +\
|
|
||||||
"bindings first."
|
|
||||||
sys.exit(-1)
|
|
||||||
|
|
||||||
|
|
||||||
# Try to use Python 2.4's built in `set'
|
# Try to use Python 2.4's built in `set'
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user