27 June 2009, 18:49 | #1 |
Registered User
Join Date: Aug 2008
Location: Spain
Posts: 527
|
winuae 1.6.1 in Windows 7 and WASAPI audio
Hello there, Toni
I've installed Windows 7 as you recommended me, and I'm triying to make WASAPI sound work. It's listed on my config menu, but whenever I start a config with WASAPI sound, the emulator hangs without further warning. My card is a Realtek integrated chip, worked fine with portaudio ASIO on XP except for a minor dropout, so I installed 7 just to try WASAPI. I'm including log and dump file, too: |
28 June 2009, 12:16 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
Possible WDM-KS crash (yes, it can cause crashes during device enumeration)
I'll compile portaudio.dll without WDM-KS later today for testing. |
29 June 2009, 11:00 | #3 |
Registered User
Join Date: Aug 2008
Location: Spain
Posts: 527
|
ok, thanks Toni. I'm looking forward for that new portaudio version!
|
29 June 2009, 15:55 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
WASAPI-only portaudio library attached (note that I was lazy and only disabled other modes, library isn't smaller because code is still there..)
Last edited by Toni Wilen; 09 August 2009 at 15:35. |
30 June 2009, 09:28 | #5 |
Registered User
Join Date: Aug 2008
Location: Spain
Posts: 527
|
It worked, yes.
I've tried WASAPI sound, but sadly it has the same problem as ASIO: -it pauses/stalls for a moment ever 5-10 minutes, with sound repeating. That's with 48Khz sound. -at 22050Hz sound is unsupported. With ASIO it was supported, but caused a sound droput every 5-10 minutes. It only happens with VSYNC on. So it's definitely VSYNC. Thanks, Toni |
30 June 2009, 11:13 | #6 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
WASAPI (and WDM-KS) is "real" Direct Sound (DirectX's DirectSound is more like InDirectSound) and they only support sound card's "native" sample rate for best possible performance (no mixing required).
Vsync: Does both WASAPI and DirectSound have identical problem? |
30 June 2009, 12:19 | #7 |
Longplayer
|
Something has changed regarding vsync between 161b1 and 161b4 (only two exes i have to test).
161b1 works fine, but 161b4 has old issue where sound doesnt play at correct speed when using amiga audio at above 28000 (using delitracker 14bit player in this case). issue is in all pc sound modes (dx/al/portaudio) There is some news on some sites that the audio layer of windows is being rewritten for windows7 since MS acknowledge they did a crap job in vista with high latency audio causing click/pops/stutters ect. |
30 June 2009, 12:36 | #8 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
Quote:
Quote:
|
||
30 June 2009, 13:16 | #9 |
Registered User
Join Date: Aug 2008
Location: Spain
Posts: 527
|
@Toni: NO, and this is VERY important IMHO: DirectSound DOES NOT have that problem.
ASIO and WASAPI have the EXACT SAME PROBLEM. What could it be?? It's driving me insane: I've tried to isolate the cause for months now |
30 June 2009, 13:24 | #10 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
Quote:
EDIT: this will be implemented in next version (as long as it is possible with portaudio) Last edited by Toni Wilen; 30 June 2009 at 13:47. |
|
30 June 2009, 13:54 | #11 |
Registered User
Join Date: Aug 2008
Location: Spain
Posts: 527
|
woho then!
It's the last feature I need in winUAE Thanks for your hard work! |
10 July 2009, 18:49 | #12 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
Portaudio does not seem to have API to get sound buffer status but I found WASAPI examples in MSDN -> there will be WinUAE "native" WASAPI sound option.. (maybe..)
|
13 July 2009, 09:14 | #13 |
Registered User
Join Date: Aug 2008
Location: Spain
Posts: 527
|
It's great to hear that, Toni. Maybe it will work better than portaudio versions, wthout those desync problems.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Best Audio Config in Winuae for a Creative X-Fi Audio Card | shaf | support.WinUAE | 2 | 14 June 2012 16:27 |
recording audio via winuae | stevorino | support.WinUAE | 2 | 27 May 2011 13:17 |
WinUAE and CD Audio | Mad-Matt | support.WinUAE | 1 | 02 June 2009 16:39 |
Crash using Portaudio WASAPI mode | Ian | support.WinUAE | 6 | 31 May 2009 03:34 |
WINUAE Audio problems | Woody036 | support.WinUAE | 5 | 04 April 2004 15:22 |
|
|