I would like to try using MacRuby with CoreAudio on OS X, but most of these APIs are C functions. Should I use Ruby DL, or does MacRuby offer a different way?
According to the Macruby website, you should be able to directly execute C functions
Static API AccessMany Mac OS X front-end APIs are not introspective because they are static, but thanks to the BridgeSupport project from MacRuby, you can invoke static APIs.The following API types are available:List itemTypes of CoreFoundation (CFType) StructuresCC opaque typesC listingC Objective-C ( , )C ( )Objective-C
Static API Access
Many Mac OS X front-end APIs are not introspective because they are static, but thanks to the BridgeSupport project from MacRuby, you can invoke static APIs.
The following API types are available:
http://www.macruby.org/documentation/tutorial.html
Source: https://habr.com/ru/post/1782319/More articles:Syntax / Boolean Validation In Javascript? - javascriptWPF 2d text library - vector-graphicsPrinting an HTML page in landscape mode? - htmlWhat is the difference between Response.Close () and Response.Dispose ()? - c #How to open a file in such a way that if the file does not exist, it will be created and opened automatically? - ctwo queries give different results in one database - mysqlWhere is the .rspec configuration file located? - ruby-on-railsLinks are not expanded when using ResolveReferences and _CopyWebApplication in AfterBuild - asp.netimport existing source code as a reference library in eclipse - build-processМожно ли сериализовать массив так, чтобы его элементы не были обернуты тегом для массива? - c#All Articles