Topic List |
Page List:
1 |
---|---|
DevsBro 10/23/19 10:24:41 PM #1: |
I'm working with SDL's built-in audio functionality. SDL_Mixer just isn't cutting it for what I want do.
*ties rope around waist* If I don't come back out, tug on this rope. If I don't tug back, pull me out. --- 53 LIII 0b110101 p16 0x35 ... Copied to Clipboard!
|
YukihoHagiwara 10/23/19 10:25:58 PM #2: |
... Copied to Clipboard!
|
DevsBro 10/24/19 12:15:43 AM #3: |
Oh yuck, I might have to C this bad boy. Despite having an entry in my binding, this function doesn't actually seem to work like it should as a result of having its own stack. It can return an address but Ada doesn't know C has allocated the memory.
Ada is considered an obstinate language but once you get used to it, it's super nice. Welp, everybody debugs at runtime sometimes. --- 53 LIII 0b110101 p16 0x35 ... Copied to Clipboard!
|
SSJGrimReaper 10/24/19 12:16:42 AM #4: |
... Copied to Clipboard!
|
DevsBro 10/25/19 12:14:07 AM #6: |
Oh good.
It wasn't the problem I thought it was. I was missing that the System.Address referred to in the binding actually binds to a double pointer and it was screwing up when it tried to allocate data to it instead of the pointer it points to. So that's good. Maybe I can stay out of C afterall. --- 53 LIII 0b110101 p16 0x35 ... Copied to Clipboard!
|
Topic List |
Page List:
1 |