Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/114.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/redis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用iOS混响效果_Ios_Core Audio_Effects_Audiounit - Fatal编程技术网

使用iOS混响效果

使用iOS混响效果,ios,core-audio,effects,audiounit,Ios,Core Audio,Effects,Audiounit,kAudioUnitSubType_混响效果在我的音频单位图中不起作用。当我从图中排除它的节点时,一切正常。我尝试在前一个节点和混响节点之间以及混响之后添加转换器。我确实将转换器节点输入的流格式设置为前一个节点输出的格式,并将转换器的输出设置为混响输入。当我初始化音频图时,我得到了错误-10868。 如何让它工作 这是我的图表: AudioUnitGraph 0x186000: Member Nodes: node 1: 'aufc' 'conv' 'appl', instance

kAudioUnitSubType_混响效果在我的音频单位图中不起作用。当我从图中排除它的节点时,一切正常。我尝试在前一个节点和混响节点之间以及混响之后添加转换器。我确实将转换器节点输入的流格式设置为前一个节点输出的格式,并将转换器的输出设置为混响输入。当我初始化音频图时,我得到了错误-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

我在Varispeed节点上也有类似的问题。我有几个varispeed节点连接到多个混音器的几个总线。此多混音器节点已连接到RemoteIO节点。而且声音没有播放。但我在multimixer和remoteIO之间添加了converter节点(AUConverter),并设置了stream format属性:

result = AudioUnitSetProperty (convertUnit, kAudioUnitProperty_StreamFormat, kAudioUnitScope_Output, 0, &stereoStreamFormat, sizeof (stereoStreamFormat));
立体流格式-此格式在我的应用程序中用于所有多混音器总线

所以我认为问题在于这种形式:

node   2 bus   0 => node   3 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' (0x00000029) 32-bit little-endian float, deinterleaved]

谢谢实际上,我的问题解决得更简单:我没有设置混合器的输出格式。