mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-27 08:23:08 +00:00
don't try to play inHighQual
This commit is contained in:
1 parent
0924e4a2d9
commit
173af678e8
1 file changed
+1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user