mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
The VirtIO sound UAPI defines VIRTIO_SND_PCM_RATE_384000, and ALSA has SNDRV_PCM_RATE_384000. However, virtio-snd's rate conversion tables stop at 192 kHz. A device advertising only 384 kHz is rejected as having no supported PCM frame rates. A device advertising 384 kHz together with lower rates does not expose 384 kHz through the ALSA hardware constraints. The selected ALSA rate also needs a reverse mapping for SET_PARAMS. Add the missing 384 kHz entries to both conversion tables. Fixes: |
History
|
|
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| virtio_card.c | ||
| virtio_card.h | ||
| virtio_chmap.c | ||
| virtio_ctl_msg.c | ||
| virtio_ctl_msg.h | ||
| virtio_jack.c | ||
| virtio_kctl.c | ||
| virtio_pcm.c | ||
| virtio_pcm.h | ||
| virtio_pcm_msg.c | ||
| virtio_pcm_ops.c | ||