Sets the properties of the audio stream by populating an AudioClientProperties structure.
public:
HRESULT SetClientProperties(
const AudioClientProperties *pProperties
)
pProperties
Type: AudioClientProperties *
[in] Pointer to an AudioClientProperties structure.
Type: HRESULTÂ
The SetClientProperties method returns S_OK to indicate that it has completed successfully. Otherwise it returns an appropriate error code.
Refer to WASAPI error codes.
Header: Declared in audioclient.h.
Library: Use mmdevapi.lib.