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.

Re: Installable Audio Driver (MMSYSTEM) and WHDR_BEGINLOOP - WHDR_ENDLOOP by n/a>

n/a>
Fri Dec 02 11:10:44 CST 2005

Anyone know of a book or another group that might answer this question?

<n/a> wrote in message news:OT7wCJH8FHA.952@TK2MSFTNGP12.phx.gbl...
> 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.
>