mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
cellAudio: fix timestamp exception
This commit is contained in:
parent
0a5ea859ea
commit
d83fac4247
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue