It is exactly what I was looking for.jalih wrote: Not sure, if this is what you want but try this:
I don't know why on my Sam440 the CPU usage is 100%.
I tried to modify your code and give more samples but I had to do something wrong because it still plays only one sample.
Could you write me the code for two samples, please. (I need to add 20 sample at least to my program). Thank you for your answer.