mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
don't try to play inHighQual
This commit is contained in:
parent
0924e4a2d9
commit
173af678e8
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user