diff options
author | wm4 <wm4@nowhere> | 2017-04-20 07:33:13 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-04-20 07:33:13 +0200 |
commit | 05e6d423d9211d940a247ae23c99198985f20cb3 (patch) | |
tree | 46fc2d568df3e2beab288d7a6b0795061bfd2af4 /audio/out/ao_wasapi.h | |
parent | 5ae25ae42449b29edcb5d4561ef83f950fd26683 (diff) | |
download | mpv-05e6d423d9211d940a247ae23c99198985f20cb3.tar.bz2 mpv-05e6d423d9211d940a247ae23c99198985f20cb3.tar.xz |
ao_wasapi_changenotify: fix potential race condition
IMMDeviceEnumerator_RegisterEndpointNotificationCallback() will start
listening for notifications, and is the point at which callbacks can
start firing. These callbacks will read the fields we set after the
register calls, which is a potential race condition. Move it upwards.
Diffstat (limited to 'audio/out/ao_wasapi.h')
0 files changed, 0 insertions, 0 deletions