Importing pykinect.audio

Jun 23, 2012 at 3:08 AM
Edited Jun 23, 2012 at 3:08 AM

Hi. I have just started using pykinect and I was wondering why I could import the nui module but unable to import the audio module. Shouldn't it work the same? 

Coordinator
Jun 25, 2012 at 8:13 PM

What error are you getting importing the audio module? 

Jun 28, 2012 at 10:15 AM

Hi thanks for replying.

This is the error that I have been getting.

>>> from pykinect import audio

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    from pykinect import audio
  File "C:\Python27\lib\site-packages\pykinect-1.0-py2.7.egg\pykinect\audio\__init__.py", line 25, in <module>
    _PYAUDIODLL = ctypes.CDLL(_audio_path)
  File "C:\Python27\lib\ctypes\__init__.py", line 365, in __init__
    self._handle = _dlopen(self._name, mode)
WindowsError: [Error 193] %1 is not a valid Win32 application
>>>

 

Sep 8, 2012 at 6:37 PM
Edited Sep 8, 2012 at 6:50 PM

hmm