0

I am using AVAudioPlayer to play some ima4 files. The initialization of the player keeps failing with error code 1685348671 (dta) which according to the documentation means

The file is malformed, not a valid instance of an audio file of its type, or not recognized as an audio file. Available in iPhone OS 2.0 and later.

What I don't understand is how the files are invalid or malformed when I can play them with QuickTime? Can the file still be malformed? How can I check whether an ima4 file is valid or not?

Thanks.

4

1 回答 1

0

我用 .aif 播放 ima4 文件(在 .aif 中)没有问题AVAudioPlayer

也许发布一些代码。

于 2010-02-15T12:03:05.100 回答