mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-01-10 23:29:43 +00:00
Flag an assert that needs to be rethought
This commit is contained in:
parent
c054be6612
commit
aa9a89a3e4
@ -191,7 +191,7 @@ static void _speaker_update(/*bool toggled*/) {
|
||||
}
|
||||
|
||||
if (UNLIKELY(samples_buffer_idx > channelsSampleRateHz)) {
|
||||
//assert(samples_buffer_idx == channelsSampleRateHz && "should be at exactly the end, no further");
|
||||
////assert(samples_buffer_idx == channelsSampleRateHz && "should be at exactly the end, no further");
|
||||
if (UNLIKELY(samples_buffer_idx > channelsSampleRateHz)) {
|
||||
ERRLOG("OOPS, possible overflow in speaker samples buffer ... samples_buffer_idx:%lu channelsSampleRateHz:%lu", samples_buffer_idx, channelsSampleRateHz);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user