augraph

IOS, No output when AUGraphConnectNodeInput is set

馋奶兔 提交于 2021-02-11 14:12:50
问题 I am stuck with AUGraph for a while now and would really appreciate if my problem is resolved. What is am trying to do right now is to play data(bytes) coming from UDP. I have successfully achieved how to play data using AUGraph but i can't figure out how to change its playback speed. My current scenario is to get Data from UDP, pass it a converter -> newTimePitch -> converter -> ioUnit. Converters: Converters, convert ASBD of 48000 to desired format for timePitch and again convert it back to

Varispeed Unit with AuGraph [iOS Swift]

。_饼干妹妹 提交于 2021-01-29 14:48:30
问题 We are trying to connect varispeed unit with output unit using AUGraph. This is our current code: var graph: AUGraph? var varispeedNode: AUNode = 0 var varispeedUnit: AudioUnit? var outputNode: AUNode = 0 var outputUnit: AudioUnit? init(_ client: UDPClient, _ tcpClient: TCPClient, _ opusHelper: OpusHelper, _ tvTemp: UILabel) { super.init() let success = initCircularBuffer(&circularBuffer, 4096) if success { print("Circular buffer init was successful") } else { print("Circular buffer init not

Does AUGraph deprecation means no more audio render callbacks?

北城余情 提交于 2020-06-12 08:17:30
问题 I have an app with an elaborated render callback that I doubt could do with AVAudioEngine. Anyway to use my AUGraph render callback ( with multiple buses ) with AVAudioEngine ? Any sample code ? 回答1: The Audio Unit API is not deprecated, only AUGraph which is presumably built on top of it. Make connections using AudioUnitSetProperty with kAudioUnitProperty_MakeConnection with an AudioUnitConnection struct. Start and stop your output unit with AudioOutputUnitStart and AudioOutputUnitStop. Set

Does AUGraph deprecation means no more audio render callbacks?

余生长醉 提交于 2020-06-12 08:17:07
问题 I have an app with an elaborated render callback that I doubt could do with AVAudioEngine. Anyway to use my AUGraph render callback ( with multiple buses ) with AVAudioEngine ? Any sample code ? 回答1: The Audio Unit API is not deprecated, only AUGraph which is presumably built on top of it. Make connections using AudioUnitSetProperty with kAudioUnitProperty_MakeConnection with an AudioUnitConnection struct. Start and stop your output unit with AudioOutputUnitStart and AudioOutputUnitStop. Set

Is AUGraph being deprecated on iOS? If so, when?

被刻印的时光 ゝ 提交于 2019-12-06 13:10:25
问题 I've heard rumblings that AUGraph is being deprecated on iOS, for example in this Twitter post: @marcoarment Your comment on @atpfm about needing to rewrite your audio engine: b/c of the looming AUGraph deprecation, or something else? Is AUGraph in fact being deprecated, and if so, when? Can somebody point me toward an official Apple document or announcement that clarifies this? 回答1: Indeed it will be deprecated as stated in the WWDC talk (Note: The picture is from the core audio mailing list

Is AUGraph being deprecated on iOS? If so, when?

风流意气都作罢 提交于 2019-12-04 19:17:15
I've heard rumblings that AUGraph is being deprecated on iOS, for example in this Twitter post : @marcoarment Your comment on @atpfm about needing to rewrite your audio engine: b/c of the looming AUGraph deprecation, or something else? Is AUGraph in fact being deprecated, and if so, when? Can somebody point me toward an official Apple document or announcement that clarifies this? Indeed it will be deprecated as stated in the WWDC talk (Note: The picture is from the core audio mailing list) 来源: https://stackoverflow.com/questions/44952582/is-augraph-being-deprecated-on-ios-if-so-when