summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2017-07-09 16:21:29 -0700
committerKevin Mitchell <kevmitch@gmail.com>2017-07-10 21:01:39 -0700
commitc5dfd66e14386db904216933867075dcf887f8fb (patch)
treed186963c2fd35f75a2778ebcb310fb96a8802d22
parent63b6aa3f57862b194fbecf22d865e1fda8325183 (diff)
downloadmpv-c5dfd66e14386db904216933867075dcf887f8fb.tar.bz2
mpv-c5dfd66e14386db904216933867075dcf887f8fb.tar.xz
ao_wasapi: remove redundant / outdated comment
Where this was moved from, it made slightly more sense. Here what the comment is trying to say is already pretty obvious from the code.
-rw-r--r--audio/out/ao_wasapi_utils.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/audio/out/ao_wasapi_utils.c b/audio/out/ao_wasapi_utils.c
index bf1a3697ee..e3deb456cd 100644
--- a/audio/out/ao_wasapi_utils.c
+++ b/audio/out/ao_wasapi_utils.c
@@ -640,7 +640,6 @@ static HRESULT fix_format(struct ao *ao, bool align_hack)
* state->bufferFrameCount));
}
- // in exclusive mode, these should all be the same
REFERENCE_TIME bufferPeriod =
state->share_mode == AUDCLNT_SHAREMODE_EXCLUSIVE ? bufferDuration : 0;