niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Programming » python
pyFMOD problem
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
Tian
*nix forums beginner


Joined: 03 Mar 2005
Posts: 19

PostPosted: Thu Feb 03, 2005 9:04 pm    Post subject: Re: pyFMOD problem Reply with quote

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

PostPosted: Thu Feb 03, 2005 7:43 am    Post subject: Re: pyFMOD problem Reply with quote

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

PostPosted: Wed Feb 02, 2005 10:15 pm    Post subject: pyFMOD problem Reply with 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
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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 10:12 pm | All times are GMT
navigation Forum index » Programming » python
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Unknown in header problem -SOLVED- Light Speed Postfix 0 Thu Jul 03, 2008 10:40 am
No new posts problem with sending mail nuxia Postfix 0 Mon Apr 21, 2008 3:58 am
No new posts Postfix 2.3.8 Virtual problem Blotto Postfix 0 Fri Apr 04, 2008 6:11 am
No new posts Postfix sending problem for local domain remote email monkey_magix Postfix 0 Mon Sep 10, 2007 10:17 am
No new posts bounce problem murkis Postfix 0 Sun Oct 08, 2006 3:45 pm

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
[ Time: 0.2498s ][ Queries: 20 (0.1528s) ][ GZIP on - Debug on ]