Commit eb4c9d2d authored by chahee.kim's avatar chahee.kim Committed by Iliyan Malchev
Browse files

USB: gadget: f_audio_source: change max ISO packet size



Change it to 256 bytes from 384 bytes.

Most USB-AUDIO devices are limited to 256 byte for max iso buffer size. If a
IN_EP_MAX_PACKET_SIZE is bigger than a USB-AUDIO device's max iso buffer size,
it will cause noise. This patch will prevent this case as possibe by reducing
packet size.  When using 44.1khz, 2ch, 16bit audio data, if max packet size is
bigger than 176 bytes, it's no problem.

Signed-off-by: default avatarIliyan Malchev <malchev@google.com>
parent b3dd1442
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment