EmulatorArchive / demul

Automatically exported from code.google.com/p/demul
1 stars 0 forks source link

WASAPI Support #210

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There is lot of Latency with Demul and Xaudio2 is a high latency API, thus 
would like WASAPI Exclusive/Shared to be added

WASAPI Exclusive basically lets Demul talk directly to your sound card without 
any interference 

Original issue reported on code.google.com by milespro...@gmail.com on 3 Jun 2014 at 7:46

GoogleCodeExporter commented 9 years ago
"and Xaudio2 is a high latency API"
maybe, cant say, because Demul doesn't uses Xaudio.

I don't think moving from one Microsoft exclusive API to another is really good 
idea, if and then we decide to change sound output API to some another it 
probably will be multiplatform one.

Original comment by 0vet...@gmail.com on 3 Jun 2014 at 10:38

GoogleCodeExporter commented 9 years ago
Is demul still using Directsound? which is a deprecated API and as downgraded 
performance/High Latency on Windows Vista/7/8.

Difference between Dsound, Xaudio2 and WASAPI.

Demul > Dsound > Emulation Layer > WASAPI > Audio Output (Highest Latency) 
Demul > Xaudio 2 > WASAPI > Audio Output  
Demul > WASAPI > Audio Output     (Lowest Latency) 

Original comment by milespro...@gmail.com on 4 Jun 2014 at 5:53

GoogleCodeExporter commented 9 years ago
if its not clear from previous message - in my/our opinion doesn't really 
matters what latency or performance is.
in Demul's case they are ~ small and can be ignored.

as was already said - if/when sound output API/library will be changed to some 
another one, it will be chosen taken from portability and usability.

Original comment by 0vet...@gmail.com on 5 Jun 2014 at 4:28

GoogleCodeExporter commented 9 years ago

Original comment by 0vet...@gmail.com on 5 Jun 2014 at 4:31