mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 17:11:23 +00:00
cellAudio: fix timestamp exception
This commit is contained in:
parent
0a5ea859ea
commit
d83fac4247
@ -597,6 +597,9 @@ void cell_audio_thread::reset_counters()
|
||||
|
||||
cell_audio_thread::cell_audio_thread()
|
||||
{
|
||||
// Initialize loop variables (regardless of provider in order to initialize timestamps)
|
||||
reset_counters();
|
||||
|
||||
if (cfg.raw.provider != audio_provider::cell_audio)
|
||||
{
|
||||
return;
|
||||
@ -607,9 +610,6 @@ cell_audio_thread::cell_audio_thread()
|
||||
|
||||
// Allocate ringbuffer
|
||||
ringbuffer.reset(new audio_ringbuffer(cfg));
|
||||
|
||||
// Initialize loop variables
|
||||
reset_counters();
|
||||
}
|
||||
|
||||
void cell_audio_thread::operator()()
|
||||
|
Loading…
Reference in New Issue
Block a user