File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,10 @@ namespace cage
147147 data.time = lastTime; // it must correspond to the beginning of the buffer, otherwise varying number of frames would skew it
148148 lastTime += request * 1000000 / sampleRate;
149149 if (request > data.frames )
150- CAGE_LOG_DEBUG (SeverityEnum::Warning, " sound" , " sound buffer overflow" );
150+ {
151+ // sound buffer overflow
152+ // nothing to do
153+ }
151154 if (data.frames == 0 )
152155 return ;
153156
@@ -170,7 +173,8 @@ namespace cage
170173 CAGE_ASSERT (r == n);
171174 if (r == data.frames )
172175 return ;
173- // CAGE_LOG_DEBUG(SeverityEnum::Warning, "sound", "sound buffer underflow");
176+
177+ // sound buffer underflow
174178 float *buff = data.buffer .data () + r * channels;
175179 while (r < data.frames )
176180 {
Original file line number Diff line number Diff line change @@ -621,7 +621,7 @@ namespace cage
621621 {
622622 WindowImpl *impl = (WindowImpl *)this ;
623623#ifndef GCHL_WINDOWS_THREAD
624- updateMouseMode ();
624+ impl-> updateMouseMode ();
625625 {
626626 ScopeLock l (cageGlfwMutex ());
627627 glfwPollEvents ();
You can’t perform that action at this time.
0 commit comments