directx bindings problem

evilrat evilrat666 at gmail.com
Tue Oct 29 05:27:43 PDT 2013


On Tuesday, 29 October 2013 at 11:47:00 UTC, Benjamin Thaut wrote:
> Am 29.10.2013 10:38, schrieb evilrat:
>> omg, almost a month passed and i even didn't notice it.
>>
>> after some "research" i'm still don't know what the problem. 
>> some COM
>> calls works, some fails(probably wrong method calls, and it 
>> not crashes
>> just because same args). now i have half working d3d11 and not 
>> working
>> at all xaudio2.
>>
>> due to some messiness i don't publish d3d11 yet. but i need 
>> help with
>> XAudio2, if anyone know what the problem please see my repo on 
>> github
>> and reply me :(
>>
>> https://github.com/evilrat666/directx-d
>>
>> p.s. though xinput is fun and working :)
>
> Is there are repro case for your problem?

xaudio example is a case. it 'works', but really doesn't play 
anything, even if feeded data from C++, also if send 
ixaudiosource pointer from D to C++ crash occurs on that call 
https://github.com/evilrat666/directx-d/blob/master/examples/xaudio.d#L71 
(if i remember correctly).


More information about the Digitalmars-d-learn mailing list