English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 15 February 2009, 14:37   #21
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,646
Not really sure, I'm not on Vista.
Sucks about ASIO!
Amiga1992 is offline  
Old 15 February 2009, 15:14   #22
AmigaFriend
Registered User
 
AmigaFriend's Avatar
 
Join Date: Sep 2008
Location: Sesimbra/Portugal
Posts: 1,462
It's a solution for Vista/7 users. The problem with WaveRT is that it only supports PCI/PCI-X audio. USB and Firewire equipment is a no go for now. And from my experience external devices are the most used equipement for several years now, from musicians.

Last edited by AmigaFriend; 15 February 2009 at 19:41.
AmigaFriend is offline  
Old 15 February 2009, 16:59   #23
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,519
Perhaps it is possible to use (for example) Foobar2000 sound output plugins...

It has both ASIO and WASAPI plugins.
Toni Wilen is online now  
Old 15 February 2009, 20:02   #24
AmigaFriend
Registered User
 
AmigaFriend's Avatar
 
Join Date: Sep 2008
Location: Sesimbra/Portugal
Posts: 1,462
Quote:
Originally Posted by Toni Wilen View Post
Perhaps it is possible to use (for example) Foobar2000 sound output plugins...

It has both ASIO and WASAPI plugins.

That's a great idea. Making WinUAE compatible with Foobar's output plugins. I'm Foobar user for many years now.

Do you think it's doable Toni?
AmigaFriend is offline  
Old 16 February 2009, 05:04   #25
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,646
Go the audionerd movement, xpect! ;D

That sounds amazing, Toni!
Amiga1992 is offline  
Old 16 February 2009, 11:21   #26
Dexther
Registered User
 
Join Date: Aug 2005
Location: italy
Age: 46
Posts: 148
Use Asio drive is veri usefull for a Professional card (tipe E-Mu card).
Native use Asio reduce cpu cost.
Great implementation !
Dexther is offline  
Old 16 February 2009, 12:51   #27
DEATH
 
Posts: n/a
Quote:
Originally Posted by Toni Wilen View Post
Perhaps it is possible to use (for example) Foobar2000 sound output plugins...

It has both ASIO and WASAPI plugins.
Using plug-ins made for a music player may not have the desired effect here.

ASIO and WASAPI themselves are designed for low-latency playback, but any advantage from using that would become insignificant because music player output APIs are not designed for low-latency playback and relevant plug-ins aren't coded with low-latency operation in mind either - quite the opposite: when playing music or any other pre-rendered content, longer buffer / more latency is better because it means stronger protection against stuttering when the system is under heavy load.
 
Old 16 February 2009, 17:37   #28
AmigaFriend
Registered User
 
AmigaFriend's Avatar
 
Join Date: Sep 2008
Location: Sesimbra/Portugal
Posts: 1,462
Quote:
Originally Posted by Akira View Post
Go the audionerd movement, xpect! ;D


Quote:
Originally Posted by DEATH View Post
when playing music or any other pre-rendered content, longer buffer / more latency is better because it means stronger protection against stuttering when the system is under heavy load.
Yes, you are correct on your statement but incorrect on the actual use of the driver.

The buffer size is always controlled by the ASIO driver not the program itself. The ASIO plugin in Foobar only provides a way to output audio through an ASIO driver. In my PC I have two audio cards. Realtek and Audigy 2. The driver for the first is controlled by ASIO4All the second from Creative ASIO drivers.

As you can see in the images posted of audio panel from Reason 4, the buffer size is only selectable on the ASIO driver side. Only DX driver buffers can be controlled by Reason directly. In Foobar is the same.
So if Toni makes a Foobar Asio plugin wrapper it's on the ASIO CP side that you control buffers, not in the program/plugin themselves.



Last edited by AmigaFriend; 16 February 2009 at 18:08.
AmigaFriend is offline  
Old 16 February 2009, 17:45   #29
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,519
Quote:
Originally Posted by DEATH View Post
Using plug-ins made for a music player may not have the desired effect here.

ASIO and WASAPI themselves are designed for low-latency playback, but any advantage from using that would become insignificant because music player output APIs are not designed for low-latency playback and relevant plug-ins aren't coded with low-latency operation in mind either - quite the opposite: when playing music or any other pre-rendered content, longer buffer / more latency is better because it means stronger protection against stuttering when the system is under heavy load.
Afaik output plugins only transfer the data (with buffer size requested by main software), it would be impossible to get correct video/audio sync if plugins add big delays..
Toni Wilen is online now  
Old 16 February 2009, 18:28   #30
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,519
PortAudio seems to be even better solution, supports DirectSound, WASAPI, WDM-KS and ASIO. (also Windows Multimedia but thats useless..)

Apparently PortAudio is basically very thin wrapper, it does not increase latency.

(WinUAE sound device selection box can get quite long..)
Toni Wilen is online now  
Old 17 February 2009, 10:25   #31
amiga
Registered User
 
Join Date: Aug 2004
Location: Amiga_land
Posts: 443
Quote:
Originally Posted by Toni Wilen View Post
PortAudio seems to be even better solution, supports DirectSound, WASAPI, WDM-KS and ASIO. (also Windows Multimedia but thats useless..)

Apparently PortAudio is basically very thin wrapper, it does not increase latency.

(WinUAE sound device selection box can get quite long..)
Maybe I don't get it. Isn't it enough to lower Sound buffer slider in Winuae sound panel settings in order to diminish audio lag ??
amiga is offline  
Old 17 February 2009, 11:57   #32
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,519
Quote:
Originally Posted by amiga View Post
Maybe I don't get it. Isn't it enough to lower Sound buffer slider in Winuae sound panel settings in order to diminish audio lag ??
Yes but DirectSound (for example) has some internal latency.

ASIO and WASAPI use more direct path (skips all mixing, resampling etc.. steps) which results in smaller latency.

Note that ASIO and WASAPI takes exclusive audio access = all other sounds will be muted. (smaller latency or more flexible, can't have both..)
Toni Wilen is online now  
Old 17 February 2009, 17:14   #33
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,519
PortAudio appears to work, at least device detection works (nothing else done yet. Sound card used: Auzentech Prelude which includes native ASIO support)

[MME] Microsoft Sound Mapper - Output
[MME] Speakers (Auzen X-Fi Prelude 7.
[MME] SPDIF Out (Auzen X-Fi Prelude 7
[MME] Digital Output Device (HDMI) (H
[Windows DirectSound] Primary Sound Driver
[Windows DirectSound] Speakers (Auzen X-Fi Prelude 7.1)
[Windows DirectSound] SPDIF Out (Auzen X-Fi Prelude 7.1)
[Windows DirectSound] Digital Output Device (HDMI) (High Definition Audio Device)
[ASIO] Auzentech ASIO
[Windows WASAPI] Speakers (Auzen X-Fi Prelude 7.1)
[Windows WASAPI] SPDIF Out (Auzen X-Fi Prelude 7.1)
[Windows WASAPI] Digital Output Device (HDMI) (High Definition Audio Device)
Toni Wilen is online now  
Old 17 February 2009, 19:11   #34
AmigaFriend
Registered User
 
AmigaFriend's Avatar
 
Join Date: Sep 2008
Location: Sesimbra/Portugal
Posts: 1,462
Quote:
Originally Posted by Toni Wilen View Post
PortAudio appears to work, at least device detection works (nothing else done yet. Sound card used: Auzentech Prelude which includes native ASIO support)
Great news Toni! Keep the good work and let's if we can test this sometime in the near future.
AmigaFriend is offline  
Old 17 February 2009, 20:12   #35
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,519
Very alpha PortAudio WinUAE attached.
Put the dll in same directory as winuae or to plugins-directory.

Notes:

Does not check if channels or frequency is supported. Check the log.
Exclusive modes (WASAPI, maybe ASIO, probably depends on sound card) may only support 48000Hz. Check the log again
In my quick tests WASAPI seems to be the best, tested with both Prelude and HP laptop with some crappy integrated sound. WASAPI is Vista SP1 (Vista RTM had some bugs)/Windows 7 only.
Attached portaudio.dll is logging enabled, it is not official release.

EDIT: portaudio updated, WDM-KS support included (it was commented out, perhaps it is broken, can't test because apparently it does not work in Vista/W7 anymore)

WDM-KS (Windows XP) not enabled, got only compilation errors. Perhaps some non-bleeding edge portaudio.dll works better..

Last edited by Toni Wilen; 24 June 2010 at 14:14.
Toni Wilen is online now  
Old 22 February 2009, 11:51   #36
AmigaFriend
Registered User
 
AmigaFriend's Avatar
 
Join Date: Sep 2008
Location: Sesimbra/Portugal
Posts: 1,462
Toni, you work fast. Many thanks for PortAudio features Will test them ASAP!
AmigaFriend is offline  
Old 22 February 2009, 20:44   #37
Retroplay
Lemon Curry ?
 
Retroplay's Avatar
 
Join Date: Sep 2004
Location: Denmark
Age: 49
Posts: 4,085
Quote:
\WinUAE\plugins\portaudio_x86.dll failed to open 14001
portaudio_x86.dll failed to open 14001
This happens to me in WinXP SP3.
Retroplay is offline  
Old 22 February 2009, 20:50   #38
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,615
Quote:
Originally Posted by Toni Wilen View Post
Have you done this Retroplay?
TCD is offline  
Old 22 February 2009, 20:55   #39
Retroplay
Lemon Curry ?
 
Retroplay's Avatar
 
Join Date: Sep 2004
Location: Denmark
Age: 49
Posts: 4,085
Quote:
Originally Posted by TheCyberDruid View Post
Have you done this Retroplay?
Yup.
Retroplay is offline  
Old 22 February 2009, 21:00   #40
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,615
Works fine here with XP SP3 So you made a folder called 'Plugins' in the WinUAE main folder and put the DLL in there? (just to make sure there is no typo or something alike)
TCD is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does WinUAE Support AmigaOS 4.1? Oktai-Wanda support.WinUAE 1 15 July 2013 04:41
Catweasel MK4+ drivers including SID support! klx300r Amiga scene 4 22 January 2011 22:03
WinUAE will have overlay support again? Leandro Jardim support.WinUAE 2 17 October 2010 22:19
WinUAE ppc support? blasterreal support.WinUAE 8 29 September 2010 00:51
WinUAE serial support Fackamato support.WinUAE 1 08 May 2003 16:02

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:00.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.20929 seconds with 13 queries