-
-
Notifications
You must be signed in to change notification settings - Fork 78
Minor issues in objc2-audio-toolbox #859
Copy link
Copy link
Open
Labels
A-frameworkAffects the framework crates and the translator for themAffects the framework crates and the translator for themenhancementNew feature or requestNew feature or request
Description
Activity
Metadata
Metadata
Assignees
Labels
A-frameworkAffects the framework crates and the translator for themAffects the framework crates and the translator for themenhancementNew feature or requestNew feature or request
After attempting to port my code to
objc2-audio-toolboxI ran into the following issues:AudioBufferList) is currently extremely annoying. I think it would be better if the array member had a size of zero and not one, so it can be treated as a header part only. Or better yet, if there were helper methods for allocating/accessing/deallocating structs with FAMs.uniontypes are missing.objc2-audio-toolboxmissing definitions:AudioUnitParameterEvent*andAudioUnitEvent*#858AURenderCallbackand friends) areOption<fn(...) -> ...>, which is slightly annoying if you want to store the inner function pointer without the Option (you have to refer to it by its full name). Not a big deal.