Mixing Audio on iPhone

I have several static audio files that I want to be able to dynamically mix and play on the iPhone (not all at the same time, the most common case is mixing two or three audio streams into one stream).

What will i use? I know there are OpenAL and Audio Units that can be useful, but which one? To get an initial hit, is there a specific piece of code, how to do it somewhere?

Thanks in advance, / Steve

+3
source share
1 answer

I recommend you check out some Apple docs and sample code related to reading files and moving them.

eg. Mixing sample code

API AudioQueueServices, , , AudioUnit AudioFileReadPackets, AudioFileServices

, , .

+6

Source: https://habr.com/ru/post/1721787/


All Articles