mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
sound_stream::sample_rate() was broken since adding support for setting a zero rate, nothing appears to rely on it (nw)
This commit is contained in:
parent
3b48aed0bf
commit
2c31275f79
@ -97,7 +97,7 @@ public:
|
||||
// getters
|
||||
sound_stream *next() const { return m_next; }
|
||||
device_t &device() const { return m_device; }
|
||||
int sample_rate() const { return (m_new_sample_rate != 0) ? m_new_sample_rate : m_sample_rate; }
|
||||
int sample_rate() const { return (m_new_sample_rate != 0xffffffff) ? m_new_sample_rate : m_sample_rate; }
|
||||
attotime sample_time() const;
|
||||
attotime sample_period() const { return attotime(0, m_attoseconds_per_sample); }
|
||||
int input_count() const { return m_input.size(); }
|
||||
|
Loading…
Reference in New Issue
Block a user