AUVoiceProcessing unit kAUVoiceIOProperty_VoiceProcessingQuality已弃用

时间:2013-11-03 14:20:20

标签: ios core-audio audiounit

根据AudioUnitProperties.h,不推荐使用kAUVoiceIOProperty_VoiceProcessingQuality。什么是替代品?

 @constant      kAUVoiceIOProperty_VoiceProcessingQuality
 @discussion        Scope: Global
                    Value Type: UInt32
                    Access: read/write
                DEPRECATED. Sets the quality of the voice processing unit. Quality values
                are comprised between 0 (lowest) and 127 (highest).

1 个答案:

答案 0 :(得分:1)

请尝试以下操作:

@constant       kAudioUnitProperty_RenderQuality
                    Scope:          Global
                    Value Type:     UInt32
                    Access:         Read / Write

                    A value (0 - 127) that can be used to control the quality (complexity) of the rendering operation. A typical usage is to set render quality to maximum for best quality, but
                    if CPU usage is a concern a lesser quality can be set to trade off render quality.