다음을 통해 공유


IDirectMusicSynth8::PlayVoice method (dmusics.h)

PlayVoice is unsupported and may be altered or unavailable in the future.

Syntax

HRESULT PlayVoice(
  REFERENCE_TIME rt,
  DWORD          dwVoiceId,
  DWORD          dwChannelGroup,
  DWORD          dwChannel,
  DWORD          dwDLId,
  long           prPitch,
  long           vrVolume,
  SAMPLE_TIME    stVoiceStart,
  SAMPLE_TIME    stLoopStart,
  SAMPLE_TIME    stLoopEnd
);

Parameters

rt

dwVoiceId

dwChannelGroup

dwChannel

dwDLId

prPitch

PREL not defined here.

vrVolume

VREL not defined here.

stVoiceStart

stLoopStart

stLoopEnd

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Windows
Header dmusics.h

See also

IDirectMusicSynth8