mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-02 16:38:51 +00:00
Fixed signedness of index.
This commit is contained in:
parent
9b72c445a7
commit
aaa60dab12
@ -76,7 +76,7 @@ void AY38910::set_clock_rate(double clock_rate) {
|
||||
}
|
||||
|
||||
void AY38910::get_samples(unsigned int number_of_samples, int16_t *target) {
|
||||
int c = 0;
|
||||
unsigned int c = 0;
|
||||
while((master_divider_&7) && c < number_of_samples) {
|
||||
target[c] = output_volume_;
|
||||
master_divider_++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user