ATTN: Andrej Mitrovic: Port Audio
Johnson via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Aug 26 19:30:21 PDT 2017
On Sunday, 27 August 2017 at 02:23:32 UTC, Johnson wrote:
> On Sunday, 27 August 2017 at 02:00:22 UTC, Johnson wrote:
>> You wrote a thread a while back about your callbacks not being
>> called and you had a fix.
>>
>> [...]
>
> After going through the code a bit, seems there are some bugs
> with &stream. Only OpenStream seems to take a ** so the other
> functions are getting passed junk.
>
> At least, I got sound! Scared the shit out of me too!
I should mention that the callback is still not being called, but
I used the sawtooth to modify a buffer and used Pa_WriteStream.
Pa_SetStreamFinishedCallback is working.
PaStreamFlags.PrimeOutputBuffersUsingStreamCallback still causes
an access violation.
Seems like the callback address is not being correctly
transmitted to PA.
More information about the Digitalmars-d-learn
mailing list