List of all members.
|Format of each sample. |
|Number of sample records to play/record per second. |
|Number of sample records per packet. |
|Number of channels per sample record. |
|Size of each sample record in bytes. |
This structure describes the format of a PCM audio data stream. It has several defined use cases, including:
Number of sample records per packet.
Most audio hardware devices will not cause a software interrupt for each sample that is recorded or played back. Instead, an interrupion will occur after each group of samples, of a predetermined size, has been recorded or played back. In this code base, such groups are referred to as packets.
For telephony applications, this value should be minimized to a fraction of the desired latency, and the output buffer fill level should be maintained at the desired latency.