mirror of
https://github.com/SysRay/psOff_public.git
synced 2024-11-27 00:20:54 +00:00
Yep
This commit is contained in:
parent
27812a7faf
commit
24514ad30e
@ -252,6 +252,10 @@ struct SceNgs2Handle_system: public SceNgs2Handle {
|
||||
if (alloc_ != nullptr) alloc = *alloc_;
|
||||
outSampleRate = sysopt ? sysopt->sampleRate : 48000;
|
||||
outNumSamples = sysopt ? sysopt->numGrainSamples : 256;
|
||||
|
||||
// Handle zero-cases
|
||||
outSampleRate = outSampleRate > 0 ? outSampleRate : 48000;
|
||||
outNumSamples = outNumSamples > 0 ? outNumSamples : 256;
|
||||
}
|
||||
|
||||
virtual ~SceNgs2Handle_system() = default;
|
||||
|
Loading…
Reference in New Issue
Block a user