iOS 0.1.1: effects read the input where the host puts it (were silent out of process)
Out of process the pulled input arrives by pointer, not in the buffers the plugin offered. au_test now drives the render block with such an upstream; it fails on 0.1.0 and passes now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
dcf85ba915
commit
7d8311a77f
@@ -80,7 +80,8 @@ final class PluginCheck: ObservableObject {
|
||||
let out = AVAudioPCMBuffer(pcmFormat: engine.manualRenderingFormat, frameCapacity: 4096)!
|
||||
var peak: Float = 0, finite = true
|
||||
for _ in 0..<11 {
|
||||
_ = try engine.renderOffline(4096, to: out)
|
||||
let status = try engine.renderOffline(4096, to: out)
|
||||
if status != .success { engine.stop(); return "FAIL render status \(status.rawValue)" }
|
||||
for ch in 0..<Int(out.format.channelCount) {
|
||||
let d = out.floatChannelData![ch]
|
||||
for i in 0..<Int(out.frameLength) { let v = d[i]; if !v.isFinite { finite = false }; peak = max(peak, abs(v)) }
|
||||
|
||||
Reference in New Issue
Block a user