UInt32 mFramesPerPacket;
Discussion
For uncompressed audio, the value is 1. For variable bit-rate formats, the value is a larger fixed number, such as 1024 for AAC. For formats with a variable number of frames per packet, such as Ogg Vorbis, set this field to 0.
這篇文章是錯(cuò)的,不要誤導(dǎo)大家。
如何設(shè)置AudioStreamBasicDescription概念 參考:AudioStreamBasicDescription[https://developer.apple.com/documentation/coreaudioty...