Hello lovely computer people:
I would like to convert the following CFStringRef into a CString. Any idea how?
recordFilePath = (CFStringRef)[NSTemporaryDirectory() stringByAppendingPathComponent: @"recordedFile.wav"];
Thanks!
EDIT 1
DarkDust answer seems to come close, but I'm still getting an error (see comment). Any help?
Since a
CFStringRef
can be toll-free casted toNSString
, you can simply do:or in your case: