문제

I'm trying to build a Render Callback function that will load a variety of short sound files, and (according to my custom logic) put them in my mixer Unit's iOData audioBufferList. How do I load an aif or caf file into the program, and appropriately import its samples into the ioData?

도움이 되었습니까?

해결책

See Extended Audio File Services Reference, particularly "ExtAudioFileOpenURL" and "ExtAudioFileRead". Remember not to do anything too time consuming in the render callback (e.g. opening a file may be considered time consuming, allocating memory definitely is).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top