Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
无法弄清楚如何为此类方法选择另一个输出目录,例如:
extractAsynchronously、exportAsynchronously、reverseAsynchronously
可能吗?
一个应用程序会产生大量临时文件,我只想为所有临时文件创建单独的目录并在工作完成后清理它。
所有这些都采用 baseDir BaseDirectory 参数。一种想法是,如果您选择 .custom,目录将与输入文件相同。然后你可以一起清理输入和输出文件。
如果您不想这样做,您可以使用新位置扩展 AKAudioFile,也许将其称为“输出”,然后在那里执行您需要的操作。