3.2.5.2.1.1 Processing a WaveInfo PDU

The structure and fields of the WaveInfo PDU are specified in section 2.2.3.3.

A WaveInfo PDU and a Wave PDU, sent consecutively by the server, combine to form an audio sample. The client reproduces the sample by taking the four bytes of audio data in the data field of the WaveInfo PDU, and prepending it to what is in the data field of the Wave PDU.

The wFormatNo field of the WaveInfo PDU is an index into the list of formats sent by the client in the Client Audio Formats and Version PDU. A value of i means the format of the audio data is the ith format of that list.

After consuming the data, the client MUST respond by sending a Wave Confirm PDU to the server. The cConfirmedBlockNo field of the Wave Confirm PDU MUST be identical to the cBlockNo field of the WaveInfo PDU.

If a packet for cBlockNo n is lost and an audio sample is constructed for a cBlockNo that is greater than n, the client abandons all packets associated with cBlockNo n and quits processing that sample.

This PDU MUST have been sent by the server over virtual channels.