mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 09:30:35 +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) {
|
void myAudio(void *userdata, Uint8* stream, int len) {
|
||||||
if(isize(to_play) < current_sample + len) return;
|
if(isize(to_play) < current_sample + len) return;
|
||||||
|
if(inHighQual) return;
|
||||||
sample* samples = (sample*) stream;
|
sample* samples = (sample*) stream;
|
||||||
len /= sizeof(sample);
|
len /= sizeof(sample);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user