| Hi,
Yes, portaudio is now reentrant on OS X.
Thanks very much for this.
Cheers,
Andrés
On Wed, Mar 3, 2010 at 9:14 AM, Andres Cabrera wrote:
> Thanks for the clarification, that's great news, I'll give it a try.
>
> Cheers,
> Andrés
>
> On Wed, Mar 3, 2010 at 9:06 AM, wrote:
>> I think you misunderstood me. The situation is this:
>>
>> 1. The HAL functions in coreaudio are not reentrant; rtcoreaudio.c , which
>> is the 'coreaudio' module for Csound uses these functions and is not
>> reentrant. The old portaudio library used this as well.
>>
>> 2. The AudioHAL unit in coreaudio seems to be reentraant; the new portaudio
>> library (which I am now bundling with csound) uses this and according to my
>> tests is reentrant.
>>
>> So you can test with the new package (5.12.3) to see if this works for you.
>> I am pretty sure it will.
>>
>> Victor
>>
>> ----- Original Message -----
>> From: Andres Cabrera
>> Date: Wednesday, March 3, 2010 8:55 am
>> Subject: Re: [Cs-dev] Found the b****r (was Re: portmidi, still no answers
>> in sight)
>> To: Developer discussions
>>
>>> Hi,
>>>
>>> I thought you said portaudio would have the same problems as coreaudio
>>> if it used the coreaudio interface, so I disabled running multiple
>>> instances with portaudio. Would wrapping coreaudio in pulseaudio make
>>> coreaudio reentrant?
>>>
>>> Or should coreaudio work already?
>>>
>>> Cheers,
>>> Andrés
>>>
>>> On Tue, Mar 2, 2010 at 10:20 PM,
>>> wrote:
>>> > What about using portaudio? That should be reentrant too, with
>>> the new
>>> > version of portaudio I'm distributing.
>>> >
>>> > Victor
>>> >
>>> > ----- Original Message -----
>>> > From: Andres Cabrera
>>> > Date: Tuesday, March 2, 2010 8:17 pm
>>> > Subject: Re: [Cs-dev] Found the b****r (was Re: portmidi,
>>> still no answers
>>> > in sight)
>>> > To: Developer discussions
>>> >
>>> >> Hi,
>>> >>
>>> >> On Tue, Mar 2, 2010 at 6:50 PM,
>>> >> wrote:
>>> >> > yes, that seems right to me. The library code is not re-
>>> >> entrant, but should work in sequenced calls.
>>> >> > I see that Istvan has some code to protect the Pm_Terminate()
>>> >> function against being called by an instance before all
>>> >> instances are closed, and a similar thing to Pm_Initialize().
>>> >> However, the globals in the portmidi library would clash.
>>> >> Interesting that they don't on Linux (and Windows?).
>>> >> >
>>> >>
>>> >> I haven't checked whether portmidi is reentrant on linux, since
>>> >> I use
>>> >> alsa, and that works fine. I'll check soon.
>>> >>
>>> >> I hope you can find a way to make a reentrant portmidi
>>> module, as
>>> >> things in QuteCsound are working well now, and you can run several
>>> >> instances without a problem on OS X and Linux using jack,
>>> which is
>>> >> great.
>>> >>
>>> >> Cheers,
>>> >> Andrés
>>> >>
>>> >> --------------------------------------------------------------
>>> ---
>>> >> -------------
>>> >> Download Intel® Parallel Studio Eval
>>> >> Try the new software tools for yourself. Speed compiling,
>>> find bugs
>>> >> proactively, and fine-tune applications for parallel performance.
>>> >> See why Intel Parallel Studio got high marks during beta.
>>> >> http://p.sf.net/sfu/intel-sw-dev
>>> >> _______________________________________________
>>> >> Csound-devel mailing list
>>> >> Csound-devel@lists.sourceforge.net
>>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >
>>> > Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
>>> > National University of Ireland, Maynooth
>>> >
>>> > ---------------------------------------------------------------
>>> ---------------
>>> > Download Intel® Parallel Studio Eval
>>> > Try the new software tools for yourself. Speed compiling, find bugs
>>> > proactively, and fine-tune applications for parallel performance.
>>> > See why Intel Parallel Studio got high marks during beta.
>>> > http://p.sf.net/sfu/intel-sw-dev
>>> > _______________________________________________
>>> > Csound-devel mailing list
>>> > Csound-devel@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>>
>>>
>>> Andrés
>>>
>>> -----------------------------------------------------------------
>>> -------------
>>> Download Intel® Parallel Studio Eval
>>> Try the new software tools for yourself. Speed compiling, find bugs
>>> proactively, and fine-tune applications for parallel performance.
>>> See why Intel Parallel Studio got high marks during beta.
>>> http://p.sf.net/sfu/intel-sw-dev
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
>> National University of Ireland, Maynooth
>>
>> ------------------------------------------------------------------------------
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>
>
>
> --
>
>
> Andrés
>
--
Andrés
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-dev |