I am in desparate need of help in getting the Dell Axim ROM A05 to work with my sound application. My application processes input sound continuously. My problem is that if the user turns off the Axim while my application is running, then when the Axim is turned back on again, the sound system is hung and no more buffers are forthcoming. What is worse, this situation remains even if I should then close my application and re-open it (which entails closing and reopening the sound device). The hang-up prevents all other applications from using the microphone until a soft reset.
I have tried all the various forms of waveInOpen (CALLBACK_EVENT, CALLBACK_WINDOW, CALLBACK_NULL, etc) with the same results. The problem is unique to the ROM A05 Axim. All other brands of Pocket PCs and other versions of the Axim recover nicely from power cycling.
One solution would be if my application could get notification of an impending power-down and it could close its connection to the sound system first. But I don't think such a notification exists, does it? The attached CAB file is a minimal test program that just counts incoming audio buffers. Try power cycling while it is running. The CAB file will install TEST.exe in Program File\SoundTest.
-Robert Scott
Real-Time Specialties
tunelabguy@yahoo.com