0 Replies
      Latest reply on May 13, 2020 2:58 PM by 844259756@qq.com
      844259756@qq.com Level 1 Level 1 (0 points)

        When I use websocket to get data from the network, and use AVAudioEngine scheduleBuffer every time I get data, my CPU usage and memory will increase rapidly after the continuous fast scheduleBuffer. Will the memory be automatically released after the AVAudioEngine plays the AVAudioPCMBuffer? And how can I reduce CPU usage? Inside the link is a screenshot of some of the code and debugging data