[pulseaudio-tickets] [Bug 65122] New: Audio doesn't work on OSX due to bugs in the coreaudio implementation
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed May 29 03:17:03 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=65122
Priority: medium
Bug ID: 65122
CC: lennart at poettering.net
Assignee: pulseaudio-bugs at lists.freedesktop.org
Summary: Audio doesn't work on OSX due to bugs in the coreaudio
implementation
QA Contact: pulseaudio-bugs at lists.freedesktop.org
Severity: blocker
Classification: Unclassified
OS: Mac OS X (All)
Reporter: vtroshchinskiy at qindel.es
Hardware: x86-64 (AMD64)
Status: NEW
Version: unspecified
Component: modules
Product: PulseAudio
Created attachment 79947
--> https://bugs.freedesktop.org/attachment.cgi?id=79947&action=edit
Fix bugs in coreaudio latency calculation code
Pulseaudio on OSX sometimes works and sometimes doesn't. When it works it
usually takes a while before sound starts playing. A sound file might start
playing after being stuck for a few minutes.
I tracked this down to a bug in the coreaudio implementation: the
get_latency_us function is buggy and uses an uninitialized variable as part of
the calculation. Sometimes the resulting latency turns out low enough for it to
play, sometimes not.
The attached patch fixes the issue. It also fixes AudioObjectGetPropertyData
calls that weren't working due to the wrong mScope and adds error logging.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20130529/f76a8c36/attachment.html>
More information about the pulseaudio-bugs
mailing list