How to play sound from frequency and paticular frame not found Question AudioUnit

How to reproduce sound from frequency and paticular frame, not found question AudioUnit1. I want to play a sound with a frequency in the patch. Can someone tell me which function I should use for this purpose.

2. I cannot use the iPhone SDK in AudioUnit Framworks. Compilation time, next error.

Developer / Platforms / iPhoneSimulator.platform / Developer / usr / bin / gcc-4.0-arch i386-isysroot / Developer / Desktop / BY / Apps / t5 / build / Debug-iphonesimulator -F / Users / gl / Desktop / BY / Apps / t5 / build / Debug-iphonesimulator-filelist / Users / gl / Desktop / BY / Apps / t5 / build / t5. build / Debug-iphonesimulator / t5.build / Objects-normal / i386 / t5.LinkFileList-mmacosx-version-min = 10.5-framework Foundation-framework UIKit-framework CoreGraphics-framework AudioUnit-o / Users / gl / Desktop / BY / Programs / t5 / builds / Debug-iphonesimulator / t5.app / t5 ld: no frames found AudioUnit collect2: ld returned 1 exit status

Please help me.

+1
source share
1 answer

use AudioToolBox instead of AudioUnit, even if I had the same problem. It was resolved using audiotoolbox. To reproduce the frequency, check this code "/ Developer / Examples / CoreAudio / SimpleSDK / DefaultOutputUnit" as well as http://atastypixel.com/blog/2008/11/04/using-remoteio-audio-unit/

m does the same thing. Hope this helps you.

0
source

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


All Articles