2.2.4.21.2 SoundDevice_CreateSoundBuffer

The SoundDevice_CreateSoundBuffer message creates a SoundBuffer and associates it with the SoundDevice.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

_size

_msgid

_idObjectSubject

idNewBuffer

info (22 bytes)

...

...

...

objcb

...

ctxcb

...

_size (4 bytes): An unsigned 32-bit integer. The total message size, in bytes.

_msgid (4 bytes): A signed 32-bit integer. The message ID that is unique to the specific target. The _msgid value is 0x00000001 for this message.

_idObjectSubject (4 bytes): An unsigned 32-bit integer. The ID of the target object.

idNewBuffer (4 bytes): A signed 32-bit integer. The ID of the new SoundBuffer object.

info (22 bytes): A SoundHeader (section 2.2.6.11). Information about the SoundBuffer to be created.

objcb (4 bytes): An unsigned 32-bit integer. The ID of the owner's callback.

ctxcb (4 bytes): An unsigned 32-bit integer. The ID of the owner's context.