Discussion:
Hardware is in a bad mode or used in a bad mode
(too old to reply)
Franci Zabukovec
2018-10-03 11:31:19 UTC
Permalink
One of the users of my product (which uses PortAudio) is experincing
serious issues on Win10 x64.

The error is *Hardware is in a bad mode or used in a bad mode,
*happening always with Pa_OpenStream (host API type 3).

We tried everything possible ... with 2 audio interfaces (ZOOM UAC-2 and
Steinberg). The problem remains the same. Other audio software like
Reaper is working normally.

I've never seen such a problem with my program, so i am a bit lost -
looks like user has a problem on system/Windows level, but not sure what
else to check.

Any ideas?

Thanks, Franci
Phil Burk
2018-10-07 21:59:04 UTC
Permalink
Search for the symbol ASE_InvalidMode on this page:

https://hackage.haskell.org/package/proteaaudio-0.6.4/src/cbits/include/asio.h

It describes the circumstances when that error is returned.
The error message you saw is associated with that symbol.

Phil Burk
Post by Franci Zabukovec
One of the users of my product (which uses PortAudio) is experincing
serious issues on Win10 x64.
The error is *Hardware is in a bad mode or used in a bad mode, *happening
always with Pa_OpenStream (host API type 3).
We tried everything possible ... with 2 audio interfaces (ZOOM UAC-2 and
Steinberg). The problem remains the same. Other audio software like Reaper
is working normally.
I've never seen such a problem with my program, so i am a bit lost - looks
like user has a problem on system/Windows level, but not sure what else to
check.
Any ideas?
Thanks, Franci
_______________________________________________
Portaudio mailing list
https://lists.columbia.edu/mailman/listinfo/portaudio
Loading...