I think CAMetalLayer.nextDrawable()
shouldn't be very time-consuming, it should be less than 1ms.
But occasionally, it will take more than 5ms, just 7ms~13ms, which is a very long time. How can we optimize this? Since this will cause rendering junk.....
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
AVAudioUnitTimePitch.latency is 0.09s on my debug devices.
It will have a little time delay during render audio using `AVAudioEngine.
I just want to change the pitch during playing audio.
So how can I avoid this this latency??
Topic:
Media Technologies
SubTopic:
Audio
Tags:
AudioToolbox
AVAudioEngine
Core Audio Kit
AVFoundation
As title desc.
Before iOS 16.6 is smooth. But iOS 16.6 is lagging.
Seems iOS 17 beta4 is ok.. Maybe Apple should post a hotfix for iOS 16.6
On iOS 18 we can see there is a colorful wave around screen when using siri, I want to implement one in my app. But I tried many ways but not succeed. Any idea?
I'm using AVFoundation to make a multi-track editor app, which can insert multiple track and clip, including scale some clip to change the speed of the clip, (also I'm not sure whether AVFoundation the best choice for me) but after making the scale with scaleTimeRange API, there is some short noise sound in play back. Also, sometimes it's fine when play AVMutableCompostion using AVPlayer with AVPlayerItem, but after exporting with AVAssetReader, will catch some short noise sounds in result file.... Not sure why.
Here is the example project, which can build and run directly. https://github.com/luckysmg/daily_images/raw/refs/heads/main/TestDemo.zip