タグ付けされた質問 「audiounit」

1
再生のためにAUGraphStartを呼び出すときにkAUGraphErr_CannotDoInCurrentContextを受け取る
私は働いているAUGraphし、再生し、私のiOSアプリのレコードのオーディオへのAudio Units API。AUGraphが次のエラーで開始できない場合に、まれに問題が発生します。 結果= kAUGraphErr_CannotDoInCurrentContext(-10863) AUGraphStartオーディオ再生用に設定されているを呼び出そうとすると、予期しないエラーが発生しました。 (BOOL)startRendering { if (playing) { return YES; } playing = YES; if (NO == [self setupAudioForGraph:&au_play_graph playout:YES]) { print_error("Failed to create play AUGraph",0); playing = NO; return NO; } //result = kAUGraphErr_CannotDoInCurrentContext (-10863) OSStatus result = AUGraphStart(au_play_graph); if (noErr != result) { print_error("AUGraphStart", result); …
弊社のサイトを使用することにより、あなたは弊社のクッキーポリシーおよびプライバシーポリシーを読み、理解したものとみなされます。
Licensed under cc by-sa 3.0 with attribution required.