Subject: Re: [ecasound] pyecasound/eiam problem
From: Bill Allen (ballen_AT_mail.serve.com)
Date: Wed Feb 06 2002 - 17:41:35 EET
On Tue, 5 Feb 2002, Kai Vehmanen wrote:
> On Tue, 5 Feb 2002, Bill Allen wrote:
>
> 1) using "alsa" device from pyecasound
>
> To use ALSA 0.9 audio objects from pyecasound, you need python2.2. In
> addition, you need to add the following to the beginning of your python
> program (before importing pyeca):
>
> --cut--
> import sys
> import DLFCN
> sys.setdlopenflags(DLFCN.RTLD_LAZY|DLFCN.RTLD_GLOBAL)
> --cut--
>
I built and installed python2.2, reconfigured and rebuilt ecasound 2.0.4,
but the following script is hanging when I run it. Is there something
obvious that I've done wrong?
Bill
----- start script -------
#!/usr/local/bin/python
import sys
import DLFCN
sys.setdlopenflags(DLFCN.RTLD_LAZY|DLFCN.RTLD_GLOBAL)
print "got here"
import os
import time
from pyeca import *
print "and here"
e = ECA_CONTROL_INTERFACE()
print "but not here"
------- end script ---------
-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request_AT_wakkanet.fi>.
This archive was generated by hypermail 2b28 : Wed Feb 06 2002 - 17:29:53 EET