mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 19:28:43 +12:00
cellAudio: fix enqueued samples computation
This commit is contained in:
parent
bba528e2ae
commit
9766d87126
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ u64 audio_ringbuffer::update()
|
|||
// Calculate how many audio samples have played since last time
|
||||
if (cfg.buffering_enabled && (playing || new_playing))
|
||||
{
|
||||
enqueued_samples = cb_ringbuf.get_used_size() / cfg.audio_sample_size;
|
||||
enqueued_samples = cb_ringbuf.get_used_size() / (cfg.audio_sample_size * cfg.audio_channels);
|
||||
}
|
||||
|
||||
// Update playing state
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue