https://bugs.freedesktop.org/show_bug.cgi?id=65122

          Priority: medium
            Bug ID: 65122
                CC: [email protected]
          Assignee: [email protected]
           Summary: Audio doesn't work on OSX due to bugs in the coreaudio
                    implementation
        QA Contact: [email protected]
          Severity: blocker
    Classification: Unclassified
                OS: Mac OS X (All)
          Reporter: [email protected]
          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.
_______________________________________________
pulseaudio-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs

Reply via email to