kAudioUnitSubType_Reverb2 效果在我的音频单元图中不起作用。当我从图中排除它的节点时,一切正常。我尝试在前一个节点和混响节点之间以及混响之后添加转换器。我确实将转换器节点输入的流格式设置为前一个节点输出的格式,并将转换器的输出设置为混响输入。初始化音频图时,我只是收到错误-10868。如何让它发挥作用?
这是我的图表:
AudioUnitGraph 0x186000:
Member Nodes:
node 1: 'aufc' 'conv' 'appl', instance 0x1b3a60 O
node 2: 'aufc' 'conv' 'appl', instance 0x1b3710 O
node 3: 'auou' 'rioc' 'appl', instance 0x1b3b80 O
node 4: 'aumx' 'mcmx' 'appl', instance 0x1b5220 O
node 5: 'aufx' 'rvb2' 'appl', instance 0x1b6790 O
Connections:
node 4 bus 0 => node 1 bus 0 [ 2 ch, 44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved]
node 1 bus 0 => node 5 bus 0 [ 2 ch, 44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved]
node 5 bus 0 => node 2 bus 0 [ 2 ch, 44100 Hz, 'lpcm' (0x00000C2C) 8.24-bit little-endian signed integer, deinterleaved]
node 2 bus 0 => node 3 bus 0 [ 2 ch, 44100 Hz, 'lpcm' (0x00000C2C) 8.24-bit little-endian signed integer, deinterleaved]
Input Callbacks:
{0x1b77d, 0x1b2d10} => node 4 bus 0 [2 ch, 44100 Hz]
{0x1b77d, 0x1b2d10} => node 4 bus 1 [2 ch, 44100 Hz]
CurrentState:
mLastUpdateError=0, eventsToProcess=F, isRunning=F