mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
SoundTouch resampler integration
This commit is contained in:
parent
3a804674c9
commit
107107107c
28 changed files with 576 additions and 402 deletions
|
@ -33,7 +33,7 @@ simple_ringbuf& simple_ringbuf::operator=(simple_ringbuf&& other)
|
|||
return *this;
|
||||
}
|
||||
|
||||
u32 simple_ringbuf::get_free_size()
|
||||
u32 simple_ringbuf::get_free_size() const
|
||||
{
|
||||
const u64 _rw_ptr = rw_ptr;
|
||||
const u32 rd = static_cast<u32>(_rw_ptr);
|
||||
|
@ -42,12 +42,12 @@ u32 simple_ringbuf::get_free_size()
|
|||
return wr >= rd ? buf_size - 1 - (wr - rd) : rd - wr - 1U;
|
||||
}
|
||||
|
||||
u32 simple_ringbuf::get_used_size()
|
||||
u32 simple_ringbuf::get_used_size() const
|
||||
{
|
||||
return buf_size - 1 - get_free_size();
|
||||
}
|
||||
|
||||
u32 simple_ringbuf::get_total_size()
|
||||
u32 simple_ringbuf::get_total_size() const
|
||||
{
|
||||
return buf_size;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue