http://bugs.winehq.org/show_bug.cgi?id=29602
Bug #: 29602 Summary: Sound stops after first sound/audio output. Product: Wine Version: unspecified Platform: x86 OS/Version: Mac OS X Status: UNCONFIRMED Severity: major Priority: P2 Component: winmm&mci AssignedTo: wine-bugs@winehq.org ReportedBy: paulthetall@gmail.com Classification: Unclassified
In campaign and skirmish and all other gametypes the sound stops after the first sound output. So for example if you clcik a unit, it will react with sound, but after that sound doesnt work anymore.
test debugrun output: (filetered double sentences) fixme:winmm:MXD_SetControlDetails What should the sw-side mixer controls map to? fixme:winsock:convert_af_w2u unhandled Windows address family 6 fixme:winmm:MXD_SetControlDetails What should the sw-side mixer controls map to?
http://bugs.winehq.org/show_bug.cgi?id=29602
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|winmm&mci |-unknown Severity|major |normal
--- Comment #1 from Dmitry Timoshkov dmitry@baikal.ru 2012-01-14 09:18:43 CST --- http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity
Wine version? Terminal output? What application is that?
http://bugs.winehq.org/show_bug.cgi?id=29602
--- Comment #2 from Paul The Tall paulthetall@gmail.com 2012-01-14 09:22:15 CST --- Latest wine version 1.3.37
I used Wineskin for this. If you want full output i will attach file.
http://bugs.winehq.org/show_bug.cgi?id=29602
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.3.37
--- Comment #3 from Dmitry Timoshkov dmitry@baikal.ru 2012-01-14 09:34:45 CST --- Wineskin is not supported here, please retest with plain Wine.
http://bugs.winehq.org/show_bug.cgi?id=29602
--- Comment #4 from Paul The Tall paulthetall@gmail.com 2012-01-14 09:40:36 CST --- It use the same wine. Test it yourself in Wine it will be the same for you.
http://bugs.winehq.org/show_bug.cgi?id=29602
--- Comment #5 from Dmitry Timoshkov dmitry@baikal.ru 2012-01-14 09:49:18 CST --- How about answering 2 other questions?
Wineskin is not the same Wine, please either retest with plain Wine or this bug will be closed as invalid, and you will be asked to report the bug to Wineskin developers instead.
http://bugs.winehq.org/show_bug.cgi?id=29602
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
--- Comment #6 from Andrew Eikum aeikum@codeweavers.com 2012-01-18 12:23:29 CST --- What application is this? What version of OSX are you using?
http://bugs.winehq.org/show_bug.cgi?id=29602
--- Comment #7 from Paul The Tall paulthetall@gmail.com 2012-01-18 12:31:21 CST --- Osx version: 10.7.2 and on my macbook 10.6.8
http://bugs.winehq.org/show_bug.cgi?id=29602
--- Comment #8 from Andrew Eikum aeikum@codeweavers.com 2012-01-18 12:39:24 CST --- What application is this?
http://bugs.winehq.org/show_bug.cgi?id=29602
--- Comment #9 from Paul The Tall paulthetall@gmail.com 2012-01-18 12:40:36 CST --- (In reply to comment #8)
What application is this?
Wineskin Its just a winebuild with a skin around it: http://wineskin.doh123.com/Information.html
http://bugs.winehq.org/show_bug.cgi?id=29602
--- Comment #10 from Andrew Eikum aeikum@codeweavers.com 2012-01-18 12:41:46 CST --- (In reply to comment #0)
In campaign and skirmish and all other gametypes the sound stops after the first sound output.
I mean, what game are you talking about?
http://bugs.winehq.org/show_bug.cgi?id=29602
--- Comment #11 from Paul The Tall paulthetall@gmail.com 2012-01-18 12:42:56 CST --- Ow man how stupid I am....Age of Empires 2 Conquerors
http://bugs.winehq.org/show_bug.cgi?id=29602
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://download.microsoft.c | |om/download/aoeaok/Trial/1. | |0/WIN98/EN-US/AoE2demo.exe
--- Comment #12 from Andrew Eikum aeikum@codeweavers.com 2012-01-18 13:18:54 CST --- I can reproduce this with the demo of Age of Kings up here http://download.microsoft.com/download/aoeaok/Trial/1.0/WIN98/EN-US/AoE2demo.exe. It works fine on my Linux desktop, so it's probably a CoreAudio driver bug.
http://bugs.winehq.org/show_bug.cgi?id=29602
--- Comment #13 from Paul The Tall paulthetall@gmail.com 2012-01-18 15:19:57 CST --- Thanks for testing :) And acknoledging
http://bugs.winehq.org/show_bug.cgi?id=29602
Paul The Tall paulthetall@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Sound stops after first |Sound stops after first |sound/audio output. |sound/audio output in Age | |of Empires 2.
http://bugs.winehq.org/show_bug.cgi?id=29602
--- Comment #14 from Andrew Eikum aeikum@codeweavers.com 2012-01-25 10:10:01 CST --- Another AudioQueue bug, it seems.
AudioQueueEnqueueWithParameters() returns the time in samples since device start when the given buffer will begin playing. In theory, AudioQueueGetTime() will return the same value when that buffer starts playing through the speakers.
Instead, AudioQueueEnqueueWithParameters() returns a value which is basically the sum of all written samples (that is, ignoring underruns). AudioQueueGetTime() returns the clock time since the queue started, in samples (including underruns).
So:
Enqueue(100) -> start_time = 0 Enqueue(200) -> start_time = 100 GetCurrentTime() -> ~150 or something reasonable Sleep(5 seconds) Enqueue(300) -> start_time = 300 = 100 + 200 GetCurrentTime() -> 50000 (that is, 5 seconds in terms of samples)
I'm trying to tweak our usage of the API so it turns out the right numbers.
http://bugs.winehq.org/show_bug.cgi?id=29602
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hoehle@users.sourceforge.ne | |t
--- Comment #15 from Jörg Höhle hoehle@users.sourceforge.net 2012-01-30 02:31:25 CST --- FWIW, my log shows this after Initialize, before Start 44066.191:trace:coreaudio:AudioRenderClient_ReleaseBuffer AudioQueueGetCurrentTime failed: fffef b8a Yes, the render test has been running for 12 hours without failure with your underrun and my lock-free patches.
http://bugs.winehq.org/show_bug.cgi?id=29602
--- Comment #16 from Paul The Tall paulthetall@gmail.com 2012-01-30 05:50:24 CST --- How do you set those vallues and where?
http://bugs.winehq.org/show_bug.cgi?id=29602
--- Comment #17 from Andrew Eikum aeikum@codeweavers.com 2012-02-01 11:26:23 CST --- This should be fixed by 57bb0898f353d34a22a2d895a1433877e9a61ab9 in today's Git. Please retest to confirm.
http://bugs.winehq.org/show_bug.cgi?id=29602
--- Comment #18 from Jörg Höhle hoehle@users.sourceforge.net 2012-02-02 16:09:17 CST --- Your patch prevents loosing sound in my audible render tests. However, it's not ideal yet.
In test_clock, sleeping for 450ms right before the for loop produces an audible discontinuity. There's no such discontinuity with a passed_time=NULL; hack before calling AudioQueueEnqueueBufferWithParameters. I'm still using Mac OSX 10.5.8. It's only when sleeping for 350ms that intermittent silence disappears.
There's no audible difference in test_worst_case. In both cases, it crackles heavily.
http://bugs.winehq.org/show_bug.cgi?id=29602
--- Comment #19 from Paul The Tall paulthetall@gmail.com 2012-02-05 15:09:42 CST --- Wow, 1.4-RC2 is much better. Sounds don't go away, don't have laggs because the sound wasnt sync.....haven't met reall problems now. Only a slight delay in some stuff when there is talked and then there should be a something happening after that (like getting units) and there is a minor delay, but no serious stuff
Great job guys!
http://bugs.winehq.org/show_bug.cgi?id=29602
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Component|-unknown |mmdevapi Resolution| |FIXED
--- Comment #20 from Jörg Höhle hoehle@users.sourceforge.net 2012-03-20 10:45:05 CDT --- Paul says this issue is fixed.
Only a slight delay ... a minor delay
If you feel this is abnormal, please file a separate bug.
http://bugs.winehq.org/show_bug.cgi?id=29602
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #21 from Alexandre Julliard julliard@winehq.org 2012-03-30 13:36:11 CDT --- Closing bugs fixed in 1.5.1.