#733: Proc as callback function for CoreAudio(AudioDeviceCreateIOProcID) isn't
called
-----------------------------------+----------------------------------------
Reporter: nagachik...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
-----------------------------------+----------------------------------------
Comment(by martinlagarde...@…):
The problem comes from multiple things actually:
- The CoreAudio BridgeSupport file is incorrect. The
`AudioDeviceCreateIOProcID` function is said to receive `^?` (pointer to
something unknow), when it shall say a pointer to a function, because
`AudioDeviceIOProcID` is actually typedef-ed to a function pointer.
- MacRuby's BridgeSupport parser doesn't support pointers to function
pointers. I have a local patch that fixes that, and might commit later,
but:
- MacRuby doesn't know yet how to convert a C function pointer to a Ruby
Proc. I'll try to see if I can do that.
In any case, even if I fix the two MacRuby's problems, CoreAudio's
BridgeSupport is not correct and will have to be modified manually for it
to work.
--
Ticket URL: <http://www.macruby.org/trac/ticket/733#comment:1>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel