mirror of
https://github.com/bradgrantham/apple2e.git
synced 2025-01-15 20:35:00 +00:00
Fix buffer underrun in audio code
This commit is contained in:
parent
cb60985ef0
commit
453c90d4cf
@ -564,7 +564,7 @@ struct MAINboard : board_base
|
||||
static const size_t audio_buffer_size = sample_rate / 10;
|
||||
char audio_buffer[audio_buffer_size];
|
||||
long long audio_buffer_start_sample = 0;
|
||||
long long audio_buffer_next_sample = -1;
|
||||
long long audio_buffer_next_sample = 0;
|
||||
unsigned char speaker_level;
|
||||
bool speaker_transitioning_to_high = false;
|
||||
int where_in_waveform = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user