Reid Bishop
2010-07-08 15:01:18 UTC
All,
I am still trying to fine-tune WASAPI on Windows 7 64 bit, and running into
problems.
I am trying to run in exclusive mode now- when I do this I get mixed
behavior.
1) When I set suggestedLatency to any value between .001 and 0.5, PA
returns the following error: "General Audio Error: Attempted to read or
write protected memory. This is often an indication that other memory is
corrupt."
2) When I set suggestedLatency to 0.5 and greater, PA returns the
following error: "Audio Stream Error: Invalid device".
3) When I set suggestedLatency to 0, no error is thrown. However, I
MUST use the same sampleRate as is set by my Audio control panel (RealTek
HD Audio).
This seems very inconsistent with regards to the Latency settings. I should
be able to set my suggestedLatency between the High and Low latency values
provided by the driver, which indicates between .003 and .010. I find it
odd that I get memory corruption errors when I try to set it to any
reasonable value.
Thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://music.columbia.edu/pipermail/portaudio/attachments/20100708/0af73ba1/attachment.html>
I am still trying to fine-tune WASAPI on Windows 7 64 bit, and running into
problems.
I am trying to run in exclusive mode now- when I do this I get mixed
behavior.
1) When I set suggestedLatency to any value between .001 and 0.5, PA
returns the following error: "General Audio Error: Attempted to read or
write protected memory. This is often an indication that other memory is
corrupt."
2) When I set suggestedLatency to 0.5 and greater, PA returns the
following error: "Audio Stream Error: Invalid device".
3) When I set suggestedLatency to 0, no error is thrown. However, I
MUST use the same sampleRate as is set by my Audio control panel (RealTek
HD Audio).
This seems very inconsistent with regards to the Latency settings. I should
be able to set my suggestedLatency between the High and Low latency values
provided by the driver, which indicates between .003 and .010. I find it
odd that I get memory corruption errors when I try to set it to any
reasonable value.
Thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://music.columbia.edu/pipermail/portaudio/attachments/20100708/0af73ba1/attachment.html>