我用
AUNodeInteraction interaction;
UInt32 ioNumInteractions;
AUGraphGetNodeInteractions(graph,
node,
&ioNumInteractions,
&interaction));
在所有设备(iphone 5s、6、6s、7)上,它返回交互和连接节点,但在 iphone 5c 和 ipad mini 上,它不返回交互(ioNumInteractions = 0)。
也许原因是32位CPU。任何想法如何解决这个问题?
CAShow(图表):
Member Nodes:
node 1: 'augn' 'afpl' 'appl', instance 0x6000000323c0 O I
node 2: 'auou' 'rioc' 'appl', instance 0x600000032460 O I
Connections:
node 1 bus 0 => node 2 bus 0 [ 2 ch, 44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved]
CurrentState:
mLastUpdateError=0, eventsToProcess=F, isInitialized=T, isRunning=T (1)