]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - sound/core/pcm.c
ALSA: pcm: add new DSD sampleformat for native DSD playback on XMOS based devices
authorJurgen Kramer <gtmkramer@xs4all.nl>
Fri, 5 Sep 2014 08:47:56 +0000 (10:47 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 8 Sep 2014 15:11:00 +0000 (17:11 +0200)
commitd4288d3fac18bbc31cb6d369679b1fa1d9321ae9
treeae486894fa6aa5db6f1c4c7a2d5d39622b19b428
parent7fd4394dfe1db02ba904dfa1048f718cbca822d1
ALSA: pcm: add new DSD sampleformat for native DSD playback on XMOS based devices

XMOS based USB DACs with native DSD support expose this feature via a USB
alternate setting. The audio format is either 32-bit raw or a 32-bit PCM format.
To utilize this feature on linux this patch introduces a new 32-bit DSD
sampleformat DSD_U32_LE.
A follow up patch will add a quirk for XMOS based devices to utilize the new format.
Further patches will add support to alsa-lib.

Signed-off-by: Jurgen Kramer <gtmkramer@xs4all.nl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h
include/uapi/sound/asound.h
sound/core/pcm.c
sound/core/pcm_misc.c