0

我需要将我的音频文件转换为 PCM,为此我正在使用 iPhoneExtAudioFileConvertTest 示例项目。我已将该项目中的所有文件复制并粘贴到我需要的项目中。将 .cpp 的扩展名更改为 .mm。验证所有框架都在那里。但我仍然收到此错误。我搜索了很多,但除了我上面写的之外找不到任何东西。

这是错误。

Undefined symbols for architecture armv7s:
  "_DoConvertFile", referenced from:
      -[EditViewController convertAudio:DestPath:] in EditViewController.o
ld: symbol(s) not found for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)

任何帮助将不胜感激。

谢谢

4

1 回答 1

0

I was also facing the same issue as you facing, then i did this,

Created interface file and library of iPhoneExtAudioFileConvertTest project and used in another project, where i needed to convert mp3 file to PCM. Hope that helps you

于 2014-03-26T10:41:00.503 回答