Microsoft SDK for Java

getFrequency

This method of the DirectSoundBuffer Class retrieves the frequency, in samples per second, at which the buffer is being played. This value will be in the range of 100-100,000.

Syntax

public int getFrequency();

Return Value

Returns the frequency at which the audio buffer is being played.

See Also

setFrequency

© 1999 Microsoft Corporation. All rights reserved. Terms of use.