AudioBufferList.mBuffers bridges incompletely to Swift
| Originator: | GriotSpeak | ||
| Number: | rdar://21374188 | Date Originated: | 13-Jun-2015 11:34 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode-beta (7A120f) |
| Classification: | Serious Bug | Reproducible: | Always |
Summary:
Provide a descriptive summary of the issue.
Steps to Reproduce:
Attempt to use AudioBufferList.mBuffers in Swift 2.0
Expected Results:
mBuffers should probably come in as an UnsafeBufferPointer<AudioBuffer> or some other Unsafe type
Actual Results:
struct AudioBufferList {
var mNumberBuffers: UInt32
var mBuffers: (AudioBuffer) // this is a variable length array of mNumberBuffers elements
init()
init(mNumberBuffers: UInt32, mBuffers: (AudioBuffer))
}
Regression:
This never seems to have come in correctly.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!