Angus Comber
2005-06-15 20:33:13 UTC
Hello
Strange problem. My code runs just fine on Windows XP. But I also need to
get working on Windows 2000. My program plays a wav file then records a
message - but it does it repeatedly five times - so recording five voice
files.
On Windows 2000 it plays the first file, records to a file then on second
playback I check for a WHDR_DONE before preparing and waveOutWrite. But
never get a WHDR_DONE. Get instead 18 which is WHDR_ENDLOOP and
WHDR_INQUEUE.
It is strange that my code fine works with exactly the same voice board on
my development machine. But get this problem on a Windows 2000 machine. I
have even installed my C++ dev environment on the 2000 machine so same sort
of files loaded.
Any ideas on what I should be looking at?
Angus Comber
Strange problem. My code runs just fine on Windows XP. But I also need to
get working on Windows 2000. My program plays a wav file then records a
message - but it does it repeatedly five times - so recording five voice
files.
On Windows 2000 it plays the first file, records to a file then on second
playback I check for a WHDR_DONE before preparing and waveOutWrite. But
never get a WHDR_DONE. Get instead 18 which is WHDR_ENDLOOP and
WHDR_INQUEUE.
It is strange that my code fine works with exactly the same voice board on
my development machine. But get this problem on a Windows 2000 machine. I
have even installed my C++ dev environment on the 2000 machine so same sort
of files loaded.
Any ideas on what I should be looking at?
Angus Comber