initialized voice status and unused sizes in the update data header
This commit is contained in:
parent
274d1fb0fc
commit
6642011706
@ -47,7 +47,7 @@ public:
|
|||||||
|
|
||||||
// Start the audio event
|
// Start the audio event
|
||||||
CoreTiming::ScheduleEvent(audio_ticks, audio_event);
|
CoreTiming::ScheduleEvent(audio_ticks, audio_event);
|
||||||
voice_status_list.reserve(worker_params.voice_count);
|
voice_status_list.resize(worker_params.voice_count);
|
||||||
}
|
}
|
||||||
~IAudioRenderer() {
|
~IAudioRenderer() {
|
||||||
CoreTiming::UnscheduleEvent(audio_event, 0);
|
CoreTiming::UnscheduleEvent(audio_event, 0);
|
||||||
@ -183,7 +183,9 @@ private:
|
|||||||
behavior_size = 0xb0;
|
behavior_size = 0xb0;
|
||||||
memory_pools_size = (config.effect_count + (config.voice_count * 4)) * 0x10;
|
memory_pools_size = (config.effect_count + (config.voice_count * 4)) * 0x10;
|
||||||
voices_size = config.voice_count * 0x10;
|
voices_size = config.voice_count * 0x10;
|
||||||
|
voice_resource_size = 0x0;
|
||||||
effects_size = config.effect_count * 0x10;
|
effects_size = config.effect_count * 0x10;
|
||||||
|
mixes_size = 0x0;
|
||||||
sinks_size = config.sink_count * 0x20;
|
sinks_size = config.sink_count * 0x20;
|
||||||
performance_manager_size = 0x10;
|
performance_manager_size = 0x10;
|
||||||
total_size = sizeof(UpdateDataHeader) + behavior_size + memory_pools_size +
|
total_size = sizeof(UpdateDataHeader) + behavior_size + memory_pools_size +
|
||||||
|
Loading…
Reference in New Issue
Block a user