You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But after rereading the code I realize that I misread line 1425. I thought it was checking "subtream->monoBuffer". But it was checking "subtream->monoMixer". So the assert(subtream->monoBuffer != NULL) actually did something.
If Dmitry wants to add it back in that is fine with me.
The text was updated successfully, but these errors were encountered:
subtream->monoBuffer can become NULL in that piece of logic only if this condition fails when monoBufferSize is 0 because initially subStream->monoBufferSize is 0 and it is set only inside this function when monoBuffer is allocated successfully:
In a review of a WASAPI change I stated that an assert was a NOOP.
Originally posted by @philburk in #948 (comment)
But after rereading the code I realize that I misread line 1425. I thought it was checking "subtream->monoBuffer". But it was checking "subtream->monoMixer". So the assert(subtream->monoBuffer != NULL) actually did something.
If Dmitry wants to add it back in that is fine with me.
The text was updated successfully, but these errors were encountered: