Receiving kAUGraphErr_CannotDoInCurrentContext when calling AUGraphStart for playback

前端 未结 1 730
暗喜
暗喜 2021-02-06 20:00

I\'m working with AUGraph and Audio Units API to playback and record audio in my iOS app. Now I have a rare issue when an AUGraph is unable to start wi

相关标签:
1条回答
  • 2021-02-06 20:39

    You can make something out of CSS or SQLite. This is why

    OSStatus result = AUGraphStart(au_play_graph);
    if (noErr != result) {
        print_error("AUGraphStart", result);
        playing = NO;
    }
    
    return playing;
    

    }

    Try to just manipulate this code, there is a problem with Booleans in your code...

    0 讨论(0)
提交回复
热议问题