mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
I can be really dumb sometimes
This commit is contained in:
parent
bec996831e
commit
ee0fd53c28
@ -59,8 +59,8 @@ private:
|
||||
};
|
||||
|
||||
UINT32 clamped_latency() const { return MAX(MIN(m_audio_latency, LATENCY_MAX), LATENCY_MIN); }
|
||||
UINT32 buffer_avail() const { return ((m_writepos <= m_playpos) ? m_buffer_size : 0) + m_playpos - m_writepos; }
|
||||
UINT32 buffer_used() const { return ((m_playpos < m_writepos) ? m_buffer_size : 0) + m_writepos - m_playpos; }
|
||||
UINT32 buffer_avail() const { return ((m_writepos >= m_playpos) ? m_buffer_size : 0) + m_playpos - m_writepos; }
|
||||
UINT32 buffer_used() const { return ((m_playpos > m_writepos) ? m_buffer_size : 0) + m_writepos - m_playpos; }
|
||||
|
||||
void copy_scaled(void *dst, void const *src, UINT32 bytes) const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user