3.3.5.2.1.1 Sending a WaveInfo PDU

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

The data fields of a WaveInfo PDU and a Wave PDU, sent consecutively by the server, combine to form an audio sample. The audio sample MUST be greater than four bytes. The first four bytes of the audio sample are placed in the data field of this PDU. The remaining data is sent in the data field of the Wave PDU that immediately follows this PDU.

The BodySize field of the RDPSND PDU Header of this PDU MUST be set to 8 bytes more than the size of the entire audio sample.

The cBlockNo field MUST be one more than the cBlockNo field of the last audio sample sent. If the value of the last cBlockNo was 255, then the value of cBlockNo for this PDU MUST be 0. If this is the first audio sample sent, then the cBlockNo field MUST be one more than the cLastBlockConfirmed field of the Server Audio Formats and Version PDU sent by the server to the client.

The wFormatNo field 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.

This PDU MUST be sent over virtual channels.