mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02: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: |
||
|---|---|---|
| .. | ||
| 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_msg.c | ||
| virtio_pcm_ops.c | ||
| virtio_pcm.c | ||
| virtio_pcm.h | ||