1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 22:53:19 +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);