Click to Rate and Give Feedback
MSDN
MSDN Library
DirectX
SDK Documentation
DirectX Audio
Reference
DirectSound
Interfaces

  Switch on low bandwidth view
IDirectSoundNotify8
Bb174483.XDK_CHM_BANNER_left(en-us,VS.85).jpgBb174483.XDK_CHM_BANNER_right(en-us,VS.85).jpg

IDirectSoundNotify8

The IDirectSoundNotify8 interface sets up notification events for a playback or capture buffer.

IDirectSoundNotify8 is a define for IDirectSoundNotify. The two interface names are interchangeable.

The interface is obtained by calling the QueryInterface method of an existing interface on a DirectSound buffer object. Secondary buffers support notifications only if they are created with the DSBCAPS_CTRLPOSITIONNOTIFY flag.

In addition to the methods inherited from IUnknown, the IDirectSoundNotify8 interface exposes the following method.

IDirectSoundNotify8 Member

MethodDescription
IDirectSoundNotify8::SetNotificationPositionsThe SetNotificationPositions method sets the notification positions. During capture or playback, whenever the read or play cursor reaches one of the specified offsets, the associated event is signaled.

The LPDIRECTSOUNDNOTIFY type is defined as a pointer to the IDirectSoundNotify interface:

typedef struct IDirectSoundNotify  *LPDIRECTSOUNDNOTIFY;

Requirements

Header: Declared in DSound.h.

Library: Use Dsound3d.dll.

See Also

DirectSound Interfaces

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker