Microsoft Windows CE 3.0  

IDsDriverBuffer::SetFrequency

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The method sets the frequency at which the audio samples are to be played. This call does not affect the format of the buffer.

HRESULT SetFrequency(
DWORD
dwFrequency
);

Parameters

dwFrequency
The frequency (in samples per second) at which the samples are to be played. This value must be between 100 and 100000.

Return Values

Returns DS_OK if successful, or one of the following error values otherwise: