http://bugs.winehq.org/show_bug.cgi?id=11242
Summary: Deprecated functions called in audiounit.c Product: Wine Version: 0.9.53. Platform: Macintosh URL: http://lists.apple.com/archives/coreaudio- api/2007/Aug//msg00073.html OS/Version: Mac OS X 10.5 Status: UNCONFIRMED Severity: minor Priority: P4 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: teloiv@gmail.com
When compiling Wine, It calls on some functions (AUGraphNewNode and AUGraphNewNodeInfo) for coreaudio support in OS X that are deprecated as of Mac OS X 10.5. The function is found in dlls/winecoreaudio.drv/audiounit.c, and the calls are:
audiounit.c: In function ‘SynthUnit_CreateDefaultSynthUnit’: audiounit.c:343: warning: ‘AUGraphNewNode’ is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:674) audiounit.c:354: warning: ‘AUGraphNewNode’ is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:674) audiounit.c:377: warning: ‘AUGraphGetNodeInfo’ is deprecated (declared at /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:689)
It does not prevent audio from working but may do so in the future.
http://bugs.winehq.org/show_bug.cgi?id=11242
--- Comment #1 from Zach D teloiv@gmail.com 2008-06-06 15:53:38 --- Created an attachment (id=13755) --> (http://bugs.winehq.org/attachment.cgi?id=13755) removes deprecated functions and replaces them with recommended oens
Replaces calls to AUGraphNewNode with AUGraphAddNode and calls to AUGraphGetNodeInfo to AUGraphNodeInfo in dlls/winecoreaudio.drv/audiounit.c
http://bugs.winehq.org/show_bug.cgi?id=11242
Zach D teloiv@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #13755|removes deprecated functions|removes deprecated functions description|and replaces them with |and replaces them with |recommended oens |recommended ones
http://bugs.winehq.org/show_bug.cgi?id=11242
--- Comment #2 from Zach D teloiv@gmail.com 2008-06-06 16:05:40 --- Actually after taking a minute to think about the patch, it might not be the best thing to patch without some sort of check for the OS version (Use these calls if >= 10.5, otherwise use previous ones..) the functions are introduced in 10.5 and wine does build properly on 10.4 as of now.
Should i go back and add a check for the version and use the old call if OS == 10.4 and new one if its >= 10.5?
http://bugs.winehq.org/show_bug.cgi?id=11242
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #3 from Austin English austinenglish@gmail.com 2008-12-04 13:34:45 --- (In reply to comment #2)
Should i go back and add a check for the version and use the old call if OS == 10.4 and new one if its >= 10.5?
Please.
http://bugs.winehq.org/show_bug.cgi?id=11242
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #4 from Austin English austinenglish@gmail.com 2008-12-04 13:34:56 --- Confirming.
http://bugs.winehq.org/show_bug.cgi?id=11242
--- Comment #5 from Austin English austinenglish@gmail.com 2008-12-04 14:11:44 --- *** Bug 16108 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=11242
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source
http://bugs.winehq.org/show_bug.cgi?id=11242
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|Macintosh |PC
http://bugs.winehq.org/show_bug.cgi?id=11242
--- Comment #6 from Austin English austinenglish@gmail.com 2009-06-09 12:02:14 --- Still present in git.
http://bugs.winehq.org/show_bug.cgi?id=11242
--- Comment #7 from Austin English austinenglish@gmail.com 2009-12-31 11:50:49 --- Still present.
http://bugs.winehq.org/show_bug.cgi?id=11242
Charles Davis cdavis@mines.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cdavis@mines.edu
--- Comment #8 from Charles Davis cdavis@mines.edu 2011-02-10 13:46:01 CST --- Not present anymore.
I don't have permission to resolve this bug. Feel free to resolve now.
http://bugs.winehq.org/show_bug.cgi?id=11242
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #9 from Austin English austinenglish@gmail.com 2011-02-10 13:48:20 CST --- Thanks!
http://bugs.winehq.org/show_bug.cgi?id=11242
--- Comment #10 from Juan Lang juan_lang@yahoo.com 2011-02-10 13:48:53 CST --- Fixed by commit b149d7bc7bf28dc13919a2d6d2c4b79e519e7a58.
http://bugs.winehq.org/show_bug.cgi?id=11242
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org 2011-02-18 12:37:23 CST --- Closing bugs fixed in 1.3.14.
http://bugs.winehq.org/show_bug.cgi?id=11242
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Mac OS X 10.5 |Mac OS X