I've been using ExtAudioFile Services and I want to use an AudioFile Service which requires an AudioFileID parameter. This parameter corresponds to ExtAudioFileRef used in ExtAudioFile Services. How do I convert from ExtAudioFileRef type to AudioFileID type?
convert ExtAudioFileRef type to AudioFileID type in iOS
1.2k views Asked by Namratha At
2
Just typecast it, it works fine!
AudioFileID audiofile = (AudioFileID)AudioExt where AudioExt is of type ExtAudioFileRef