Problem with latency playing Wave files #38
-
|
Hi, I'm trying to play wavefiles using MediaEngineClass. So far so good. On my normal soundcard everything is fine. But if I insert my Asio enabled USB Sound interface, things turn very laggy. I takes about 2 or 3 seconds to play a simple wave. If i turn the latency of the soundcard down to 1 ms everything is fine. But above 10ms is unworkable. Any pointers to how to fix this? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hi, Sounds like a buffer or driver issue to me. Further I found a good explanation about ASIO Audio Tutorial – Low Latency Audio On Windows Finally: If you want to work with low or no latency on audio the MediaEngine is not designed for that. Regards, Tony. |
Beta Was this translation helpful? Give feedback.
-
|
Recently a XAudio2 sample has been committed. Regards Tony. |
Beta Was this translation helpful? Give feedback.
Recently a XAudio2 sample has been committed.
XAudio2 is the replacement for DirectSound and performs very well with latency.
You can find the XAudio2 sample here.
Regards Tony.