次の方法で共有


MM_WOM_SETSECONDARYGAINCLASS (Windows Embedded CE 6.0)

1/6/2010

This message associates a stream context with an attenuation class. For more information see Attenuation Classes.

Syntax

MM_WOM_SETSECONDARYGAINCLASS
    wParam = (DWORD) dwClass
    lParam = 0

Parameters

  • dwClass
    A DWORD value that contains the new attenuation class for the audio stream context. You can set this parameter to 0, 1, 2, or 3. The default attenuation class value for new waveform audio streams is 0.
  • lParam
    Not used. Set to 0.

Remarks

When you send this message, you must provide a handle to the waveform audio stream in your call to waveOutMessage.

Return Value

None.

Requirements

Header audiosys.h
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

Waveform Audio Messages
waveOutMessage

Concepts

Attenuation Classes