1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

don't try to play inHighQual

This commit is contained in:
Zeno Rogue 2020-05-25 23:54:57 +02:00
parent 0924e4a2d9
commit 173af678e8

View File

@ -46,6 +46,7 @@ vector<sample> to_play;
void myAudio(void *userdata, Uint8* stream, int len) {
if(isize(to_play) < current_sample + len) return;
if(inHighQual) return;
sample* samples = (sample*) stream;
len /= sizeof(sample);