|
|
|
|
|
|
| Author |
Message |
Tian *nix forums beginner
Joined: 03 Mar 2005
Posts: 19
|
Posted: Thu Feb 03, 2005 9:04 pm Post subject:
Re: pyFMOD problem
|
|
|
I think I did have put the DLL file in the correct place, but I still
cannot make it work. same problem. I checked my version of pyfmod,
ctypes, they are all the newest one. can you tell me the version you
are using? Thanks |
|
| Back to top |
|
 |
Thomas Heller *nix forums Guru Wannabe
Joined: 23 Feb 2005
Posts: 179
|
Posted: Thu Feb 03, 2005 7:43 am Post subject:
Re: pyFMOD problem
|
|
|
wangtianthu@gmail.com (Tian) writes:
| Quote: | I am trying to use pyfmod in python to manipulate sound.
i have installed pyfmod, ctype, numarray (if they are necessary), i
also copied fmod.dll to python/DLLs as well as windows/system32, but
|
First, you should copy fmod.dll to a directory somewhere where
LoadLibrary can find it. That includes directories on PATH, plus the
directory where the executable is. python/DLLs does probably not work.
| Quote: | when i tried
import pyFMOD
I got:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in -toplevel-
import pyFMOD
File "C:\Python24\Lib\site-packages\pyFMOD.py", line 177, in
-toplevel-
_FSOUND_Sample_Load = getattr(fmod, "_FSOUND_Sample_Load@16")
File "C:\Python24\Lib\site-packages\ctypes\__init__.py", line 323,
in __getattr__
func = self._StdcallFuncPtr(name, self)
AttributeError: function '_FSOUND_Sample_Load@16' not found
-------------------------------------
How can I deal with this?
Thanks!
|
The fmod.dll that I just downloaded has a function named
'_FSOUND_Sample_Load@20', which indicates an api change (the number of
the '@' sign indicates how many bytes are needed as parameters).
Probably pyFMOD needs an older version of fmod.dll, or pyFMOD should be
updated?
Thomas |
|
| Back to top |
|
 |
Tian *nix forums beginner
Joined: 03 Mar 2005
Posts: 19
|
Posted: Wed Feb 02, 2005 10:15 pm Post subject:
pyFMOD problem
|
|
|
I am trying to use pyfmod in python to manipulate sound.
i have installed pyfmod, ctype, numarray (if they are necessary), i
also copied fmod.dll to python/DLLs as well as windows/system32, but
when i tried
import pyFMOD
I got:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in -toplevel-
import pyFMOD
File "C:\Python24\Lib\site-packages\pyFMOD.py", line 177, in
-toplevel-
_FSOUND_Sample_Load = getattr(fmod, "_FSOUND_Sample_Load@16")
File "C:\Python24\Lib\site-packages\ctypes\__init__.py", line 323,
in __getattr__
func = self._StdcallFuncPtr(name, self)
AttributeError: function '_FSOUND_Sample_Load@16' not found
-------------------------------------
How can I deal with this?
Thanks! |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Jan 08, 2009 10:12 pm | All times are GMT
|
|
Mortgage Calculator | Bankruptcy | Free Advertising | Loans | Credit Report
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|