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

            Bug ID: 88901
           Summary: CoreAudio routines return OSStatus, not UInt32
           Product: PulseAudio
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Mac OS X (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: modules
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

Created attachment 113023
  --> https://bugs.freedesktop.org/attachment.cgi?id=113023&action=edit
patch that corrects the err type issue

CoreAudio routines that return an error status do so with the OSStatus type,
which is not a UInt32: typical OS X errors are negative numbers.

Errors like I have been seeing :

W: [iMic USB audio system] module-coreaudio-device.c: Failed to get device
latency: 560947818
W: [iMic USB audio system] module-coreaudio-device.c: Failed to get buffer
frame size: 560947818
W: [iMic USB audio system] module-coreaudio-device.c: Failed to get safety
offset: 560947818
W: [iMic USB audio system] module-coreaudio-device.c: Failed to get streams:
560947818


are thus not informative about the true error that occurred.

The above errors occurred when I tried to change the device a playing
application was streaming to, using pavucontrol; this action did not work.
After rebuilding pulseaudio with the attached path, the feature now seems to
function and I can change the used device at will. (I cannot yet confirm though
that it works 100% of the time.)

-- 
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