summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_wasapi.c
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2016-02-25 05:23:42 -0800
committerKevin Mitchell <kevmitch@gmail.com>2016-02-26 15:43:51 -0800
commit5e124a4ac306292be698f8e1ebf7ce3dd15b02ba (patch)
treec657fea9f1f01854ceb7e82b176f83a83f18017a /audio/out/ao_wasapi.c
parenta842ad8f504477f8ca5599d6dda7fbdb63b1bdea (diff)
downloadmpv-5e124a4ac306292be698f8e1ebf7ce3dd15b02ba.tar.bz2
mpv-5e124a4ac306292be698f8e1ebf7ce3dd15b02ba.tar.xz
ao_wasapi: fix typo in comment
Diffstat (limited to 'audio/out/ao_wasapi.c')
-rw-r--r--audio/out/ao_wasapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_wasapi.c b/audio/out/ao_wasapi.c
index 6fbf257bcb..4615baa232 100644
--- a/audio/out/ao_wasapi.c
+++ b/audio/out/ao_wasapi.c
@@ -60,7 +60,7 @@ static HRESULT get_device_delay(struct wasapi_state *state, double *delay_us) {
QueryPerformanceCounter(&qpc);
INT64 qpc_diff = av_rescale(qpc.QuadPart, 10000000, state->qpc_frequency.QuadPart)
- qpc_position;
- // ignore the above calculation if it yeilds more than 10 seconds (due to
+ // ignore the above calculation if it yields more than 10 seconds (due to
// possible overflow inside IAudioClock_GetPosition)
if (qpc_diff < 10 * 10000000) {
*delay_us -= qpc_diff / 10.0; // convert to us