ScummVM API documentation
Resid::SID Class Reference

Public Member Functions

void enable_filter (bool enable)
 
void enable_external_filter (bool enable)
 
bool set_sampling_parameters (double clock_freq, double sample_freq, double pass_freq=-1, double filter_scale=0.97)
 
void updateClock (cycle_count delta_t)
 
int updateClock (cycle_count &delta_t, short *buf, int n, int interleave=1)
 
void reset ()
 
reg8 read (reg8 offset)
 
void write (reg8 offset, reg8 value)
 
int output ()
 

Protected Attributes

Voice voice [3]
 
Filter filter
 
ExternalFilter extfilt
 
reg8 bus_value
 
cycle_count bus_value_ttl
 
double clock_frequency
 
cycle_count cycles_per_sample
 
cycle_count sample_offset
 
short sample_prev
 

Static Protected Attributes

static const int FIXP_SHIFT
 
static const int FIXP_MASK
 

The documentation for this class was generated from the following file: