2.2.3.4 Wave PDU (SNDWAV)

The Wave PDU is the second of two consecutive PDUs used to transmit audio data over virtual channels. This packet contains the rest of the audio data not sent in the WaveInfo PDU. This PDU MUST be sent using virtual channels.


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

bPad

data (variable)

...

bPad (4 bytes): A 32-bit unsigned integer that MUST be set to 0x00000000.

data (variable): The rest of the audio data. The size of the audio data MUST be equal to the BodySize field of the RDPSND PDU header of the WaveInfo PDU that immediately preceded this packet, minus the size of the preceding WaveInfo PDU packet (not including the size of its Header field). The format of the audio data MUST be the format specified in the list of formats exchanged during the Initialization Sequence and found at the index specified in the wFormatNo field of the preceding WaveInfo PDU.