http://bugs.winehq.org/show_bug.cgi?id=32161
Bug #: 32161 Summary: IAudioClient should support IMarshal Product: Wine Version: 1.4.1 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: mmdevapi AssignedTo: wine-bugs@winehq.org ReportedBy: fgouget@codeweavers.com Classification: Unclassified
It looks like IAudioClient should support the IMarshal interface. This impacts the Rocksmith PC game (it has a demo but only on Steam):
0040:trace:alsa:AudioClient_QueryInterface (0x162ed8)->({00000003-0000-0000-c000-000000000046}, 0x680e92c) 0040:warn:alsa:AudioClient_QueryInterface Unknown interface {00000003-0000-0000-c000-000000000046} 0040:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80040155 0040:err:ole:CoMarshalInterface Failed to marshal the interface {1cb9ad4c-dbfa-4c32-b178-c2f568a703b2}, 80040155 0032:trace:alsa:AudioClient_Release (0x162ed8) Refcount now 1 0032:trace:alsa:AudioClient_Release (0x162ed8) Refcount now 0
http://bugs.winehq.org/show_bug.cgi?id=32161
Tobias GÖbel kubax1983@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kubax1983@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=32161
--- Comment #1 from Witold Krecicki wpk@culm.net 2013-03-03 17:37:15 CST --- Created attachment 43793 --> http://bugs.winehq.org/attachment.cgi?id=43793 Partial audiodump from Rocksmith
Trace obtained using verbose logging in full version of Rocksmith, no audio.
http://bugs.winehq.org/show_bug.cgi?id=32161
Luis Javier Merino ninjalj@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ninjalj@gmail.com
--- Comment #2 from Luis Javier Merino ninjalj@gmail.com 2013-04-21 08:52:29 CDT --- Rocksmith uses PortAudio. The issue can be reproduced on a mingw cross-compiled PortAudio with the WASAPI hostapi selected, i.e. the result of:
$ ./configure --host=i686-pc-mingw32 --with-winapi=wasapi
Then, running one of the examples included exits immediately with no sound:
$ (cd lib/.libs/; wine ../../bin/.libs/paex_pink) [...] err:ole:marshal_object couldn't get IPSFactory buffer for interface {1cb9ad4c-dbfa-4c32-b178-c2f568a703b2} err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80040155 err:ole:CoMarshalInterface Failed to marshal the interface {1cb9ad4c-dbfa-4c32-b178-c2f568a703b2}, 80040155 An error occured while using the portaudio stream Error number: -9999 Error message: Unanticipated host error
Note that the above correctly produces sound when using WinMME.
http://bugs.winehq.org/show_bug.cgi?id=32161
--- Comment #3 from Luis Javier Merino ninjalj@gmail.com 2013-04-21 09:01:38 CDT --- Failing PortAudio function is src/hostapi/wasapi/pa_win_wasapi.c:MarshalStreamComPointers(), which calls CoMarshalInterThreadInterfaceInStream().
http://bugs.winehq.org/show_bug.cgi?id=32161
Rémy CLOUARD shikamaru@shikamaru.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |shikamaru@shikamaru.fr
http://bugs.winehq.org/show_bug.cgi?id=32161
Adam otaznik@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |otaznik@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=32161
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
http://bugs.winehq.org/show_bug.cgi?id=32161
zero4281@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zero4281@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=32161
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com 2013-11-09 01:12:02 CST --- Isn't it fixed for winealsa with http://source.winehq.org/git/wine.git/commit/4e565b0ef0ed03accc9993ae7572da9...
http://bugs.winehq.org/show_bug.cgi?id=32161
Luke A. Guest laguest@archeia.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |laguest@archeia.com
--- Comment #5 from Luke A. Guest laguest@archeia.com --- I have installed Rocksmith 2014 and sound works. Only thing that doesn't is the cable.
http://bugs.winehq.org/show_bug.cgi?id=32161
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |4e565b0ef0ed03accc9993ae757 | |2da9ec38cdaca Status|NEW |RESOLVED CC| |focht@gmx.net Resolution|--- |FIXED
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
reported fixed by commit http://source.winehq.org/git/wine.git/commitdiff/4e565b0ef0ed03accc9993ae757...
Regards
https://bugs.winehq.org/show_bug.cgi?id=32161
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.15.