I am developing with audioQueueService
But stop in function "CFURLCreateFromFileSystemRepresentation"
here is my code but always get nil for return.
var path = Bundle.main.path(forResource: "123", ofType: "mp3")!
var xyz = UInt8(path.utf8CString[0])
let audioFileURL = CFURLCreateFromFileSystemRepresentation(kCFAllocatorDefault,&xyz, path.characters.count, false)
print(audioFileURL)
I had try post path's point to func but not work?
can anyone help me?