aboutsummaryrefslogtreecommitdiffhomepage
path: root/audio
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2015-07-03 18:11:51 +0200
committerGravatar wm4 <wm4@nowhere>2015-07-03 19:28:00 +0200
commit597657110fb8911d60d8a636d32792f9a30c1fd5 (patch)
tree4a4aca16f6f3687f476bb0c52dc00b3f315607ac /audio
parentec21be498fe8b30756949df42322333f8a60a3da (diff)
ao_coreaudio_exclusive: dump all latency info in verbose mode
Diffstat (limited to 'audio')
-rw-r--r--audio/out/ao_coreaudio_exclusive.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/audio/out/ao_coreaudio_exclusive.c b/audio/out/ao_coreaudio_exclusive.c
index 4f6eae7ac6..3a64de5049 100644
--- a/audio/out/ao_coreaudio_exclusive.c
+++ b/audio/out/ao_coreaudio_exclusive.c
@@ -315,8 +315,11 @@ static int init(struct ao *ao)
uint32_t temp;
err = CA_GET_O(p->device, latency_properties[n], &temp);
CHECK_CA_WARN("cannot get device latency");
- if (err == noErr)
+ if (err == noErr) {
latency_frames += temp;
+ MP_VERBOSE(ao, "Latency %s: %d\n", fourcc_repr(latency_properties[n]),
+ (int)latency_frames);
+ }
}
p->hw_latency_us = ca_frames_to_us(ao, latency_frames);