views:

5

answers:

0

I don't see a straightforward way to check when SlimDX has finished playing the audio in its buffers.

The way I'm doing it right now is within the secondary buffer reload loop. When an attempt to reload both the upper and lower halves results in zero new bytes added, then I know it's done. Is there an easier way?

related questions