I'm writing an audio driver and trying to implement support for
WHDR_BEGINLOOP and WHDR_ENDLOOP. Unfortunately, I cannot find very
comprehensive documentation on these flags. So I have a few questions.
1. Are nested loops supposed to be supported?
2. If nested loops are supported, what is the behavior of BreakLoop when
you are playing a nested loop? Does it break out of just the inside loop,
or all loops currently playing?
3. If the WHDR_BEGINLOOP flag is set and WAVEHDR::dwLoops is 0, do you just
ignore the entire loop without playing it all?
(And I have tried these with other audio drivers, but looping seems to be
badly supported by whatever I'm testing against. It doesn't seem to support
looping if WHDR_BEGINLOOP and WHDR_ENDLOOP are not both specified in the
same block.)
Thanks in advance.