]> code.delx.au - pulseaudio/commit
osx: Fix latency querying
authorVadim Troshchinskiy <vtroshchinskiy@qindel.es>
Wed, 29 May 2013 10:58:36 +0000 (13:58 +0300)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Wed, 29 May 2013 11:08:23 +0000 (14:08 +0300)
commita0032eb7f9c8ef15b0f6cd97e5572d10fec86de7
treed5249b0df2bfbe6c34e732b5e62b905cd77a1c3b
parentdbe7bd6677720a4074b946ef9973a0dd2c083ac2
osx: Fix latency querying

get_latency_us() used an uninitialized variable, and an incorrect
scope for some of the AudioObjectGetPropertyData() calls. As a result,
audio would randomly not work at all.

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=65122
src/modules/macosx/module-coreaudio-device.c