Cookbook
Cookbook copied to clipboard
Example of stream PCM buttering player
Now all the examples seems to play buffer loaded from files. Please provide a example of using 'scheduleBuffer' func to show how to load streaming buffer from other datasource (net, other buffer...).
Also I found PCM of Int16 not work for player, but float32 does. It seems it's a limitation of AVAudioPlayerNode. Please show the best practise to convert the format.