mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
Corrects AY counter type.
This commit is contained in:
parent
fc16e8eb8c
commit
57ddfcd645
@ -66,7 +66,7 @@ AY38910::AY38910(Concurrency::DeferringAsyncTaskQueue &task_queue) : task_queue_
|
|||||||
}
|
}
|
||||||
|
|
||||||
void AY38910::get_samples(std::size_t number_of_samples, int16_t *target) {
|
void AY38910::get_samples(std::size_t number_of_samples, int16_t *target) {
|
||||||
unsigned int c = 0;
|
std::size_t c = 0;
|
||||||
while((master_divider_&7) && c < number_of_samples) {
|
while((master_divider_&7) && c < number_of_samples) {
|
||||||
target[c] = output_volume_;
|
target[c] = output_volume_;
|
||||||
master_divider_++;
|
master_divider_++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user