Fix perf regression
This commit is contained in:
		@@ -520,7 +520,8 @@ void VoiceContext::SortInfo() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void VoiceContext::UpdateStateByDspShared() {
 | 
			
		||||
    voice_states = dsp_voice_states;
 | 
			
		||||
    std::memcpy(voice_states.data(), dsp_voice_states.data(),
 | 
			
		||||
                sizeof(VoiceState) * dsp_voice_states.size());
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
} // namespace AudioCore
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user