Adopted the standard withCString for C strings throughout the library.
This commit is contained in:
@@ -84,7 +84,7 @@ extension Sound {
|
||||
}
|
||||
let reply: accessReply
|
||||
if let purpose {
|
||||
reply = purpose.withPlaydateCString {
|
||||
reply = purpose.withCString {
|
||||
snd.pointee.requestMicAccess.unsafelyUnwrapped($0, trampoline, box.toOpaque())
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user