我使用TPAACAudioConverter将CAF转换为AAC格式,但转换后的文件持续时间为0 [英] I converted CAF to AAC format using TPAACAudioConverter but converted file duration is 0

查看:103
本文介绍了我使用TPAACAudioConverter将CAF转换为AAC格式,但转换后的文件持续时间为0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用AVAudioRecorder。我用caf格式录制声音。之后,我使用 TPAACAudioConverter 将文件caf转换为aac格式。它工作正常,但转换文件的持续时间是00:00。有没有办法获得aac音频文件的持续时间。

I'm using AVAudioRecorder. I record the sound in caf format. After that i convert the file caf to aac format using TPAACAudioConverter. It works fine but converted file duration is 00:00. Is there any way to get duration of aac audio file.

推荐答案

AAC格式不支持某些模拟器。你可以在您的设备上查看它。它可以正常工作,你可以获得AAC音频文件的持续时间。

The AAC format doesn't support for some simulator.You can check it on your device. It will works fine and you may get AAC audio file duration.

这篇关于我使用TPAACAudioConverter将CAF转换为AAC格式,但转换后的文件持续时间为0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆