Search code examples
iphoneiosaudioopenal

Record samples being played with OpenAL


I am playing 9 loops simultaneously using OpenAL on iOS. In order for the loops to be 100% synchronized they are started playing on different threads. Any pointers/tutorials on using OpenAL to record what is being played. Wil I encounter issues recording given I am using different threads?


Solution

  • OpenAL on iOS doesn't support audio recording. You'd need to use audio units to play the audio and route it to both the speakers and a file.