Learning-Core-Audio-Swift-SampleCode
Learning-Core-Audio-Swift-SampleCode copied to clipboard
Can I ask a question about the book?
• mSampleRate is defined to be the number of samples per channel per second of uncompressed data. This makes it equal to the number of frames per second, which means you can multiply it by mFramesPerPacket to determine packet length in seconds.
The book describes it this way inside, but this multiplication, I feel, is wrong. Frames per second, multiplied by the number of frames per packet, feels like it doesn't make any sense, unless it's a division.