Buzzing sound after returning to app from Audiobus app

I'm using TAE with Audiobus. When I connect to audiobus and it loads my app the sound is fine. However, after Audiobus re-opens (after opening my app) and I select my app to open it, there's a buzzing that occurs and it says the TAE recovered from an error and that the engine restarted. Any insight what would cause it to restart. If I run without TAE and move between other audio apps this doesn't occur.

Comments

  • edited January 2016

    I should also mention that subsequent times of going between Audiobus and my app doesn't seem to re-start the audio system. It appears to be only the first time (from what I can tell).

    // app launch
    2016-01-11 00:52:30.849[584:91145] TAAE: Setting audio session category to AVAudioSessionCategoryPlayback
    2016-01-11 00:52:30.853[584:91145] TAAE: Audio session initialized (input available, audio route 'iPhone Microphone and Speaker') HW samplerate: 44100
    2016-01-11 00:52:30.964[584:91145] AEAudioController.m:2626: AUGraphInitialize: -50
    2016-01-11 00:52:30.965[584:91145] TAAE: Buffer duration 0.012, 512 frames (requested 0.03s, 1323 frames)
    2016-01-11 00:52:30.965[584:91145] AEAudioController.m:2890: AUGraphClose: -50
    2016-01-11 00:52:30.965[584:91145] AEAudioController.m:2891: DisposeAUGraph: -50
    2016-01-11 00:52:30.970[584:91145] TAAE: Audio session initialized (input available, audio route 'iPhone Microphone and Speaker') HW samplerate: 44100
    2016-01-11 00:52:30.995[584:91145] TAAE: Engine setup
    [verbose] Pd: inited
    [verbose] Pd: samplerate: 44100
    [verbose] Pd: channels in: 0
    [verbose] Pd: channels out: 2
    [verbose] Pd: ticks: 8
    [verbose] Pd: block size: 64
    [verbose] Pd: calc buffer size: 512
    [verbose] Pd: queued: no
    2016-01-11 00:52:31.135[584:91145] CFSocketSetAddress listen failure: 102
    2016-01-11 00:52:31.135[584:91145] CFSocketSetAddress listen failure: 102
    2016-01-11 00:52:31.208[584:91145] TAAE: Starting Engine
    // audiobus connects and panel shows
    2016-01-11 00:52:33.545[584:91145] Inter-App Audio connected to sender port 'NodeBeat'
    // open Audiobus
    // click on app icon
    // app opens

    2016-01-11 00:52:58.062[584:91145] TAAE: Trying to recover from system error (3 retries remain)
    2016-01-11 00:52:58.062[584:91145] TAAE: Stopping Engine
    2016-01-11 00:52:58.616[584:91145] TAAE: Audio session initialized (input available, audio route 'iPhone Microphone and Speaker') HW samplerate: 44100
    2016-01-11 00:52:58.636[584:91145] TAAE: Engine setup
    2016-01-11 00:52:58.637[584:91145] TAAE: Starting Engine
    2016-01-11 00:52:58.642[584:91145] TAAE: Successfully recovered from system error

  • Not sure if you ended up solving this, but for me it was because I was stopping my audio engine while Audiobus was connected

Sign In or Register to comment.