Contents

dwSamplePeriod

The period at which the device should play back the effect, in microseconds.

Declaration

var dwSamplePeriod: DWORD

Discussion

A value of 0 indicates that the default playback sample rate should be used.

If the device is not capable of playing back the effect at the specified rate, it chooses the supported rate that is closest to the requested value.

Setting a custom dwSamplePeriod can be used for special effects. For example, playing a sine wave at an artificially large sample period results in a rougher texture.

See Also

Instance Properties