On Wed, Dec 31, 2008 at 5:56 PM, Sebastian Moors  wrote:
> Hi!
>
> Gabriel M. Beddingfield wrote:
>> Gabriel M. Beddingfield wrote:
>>> I've attached the backtrace, build log, h2 output, and scache.conf.
>>> It looks like the callback got used before the buffers were allocated.
>>
>> Ah, I see what happened... and I've attached patch(es) to fix it.  The
>> pointer to the callback data should have been (void*)this.  This is
>> actually a standard practice for C-style callbacks, so it's worth
>> taking a moment to understand it.    The same callback "pattern" is
>> used in the ALSA and JACK APIS... as well as stuff like SQLite (and
>> just about any other C library that utilizes a client callback).
>>
>> I've attached two patches:  (a) the patch that gets applied on top of
>> Sebastian's patch, and (b) the full patch.
>>
>> This now works with portaudio v19 (API v2).
>>
>> Question:  Do we want to support both API's... or go ahead an migrate
>> to the v2 API?  How widely avail. is the the v2 API on stable distro's?
>>
> I suppose the most stable distributions are using v18 atm. Maybe we
> should stay with v18 for 0.9.4 and provide the v19 patch for the people
> who want to use it.
> Btw, Happy new year to everyone :)
> - Sebastian
>> Thanks,
>> Gabriel
>

Hello Sebastian, Gabriel.
Sorry I missed these emails. I tried Gabriel's "full patch" now and it works!
Thanks for the fix!

Btw, Fedora uses portaudio v19.

Orcan

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to