summaryrefslogtreecommitdiffstats
path: root/sound/usb/card.h
diff options
context:
space:
mode:
authorJussi Laako <jussi@sonarnerd.net>2018-06-13 01:43:01 +0300
committerTakashi Iwai <tiwai@suse.de>2018-06-13 07:45:38 +0200
commit3a572d94bcff98a14c94fe686881a169a26f3fca (patch)
tree9ad5db93be9d9a27537e85fd3ae4d14e0c830637 /sound/usb/card.h
parentc7273bd6c1922adcfd3ed5783c1fa69aa075f0f8 (diff)
downloadlinux-stable-3a572d94bcff98a14c94fe686881a169a26f3fca.tar.gz
linux-stable-3a572d94bcff98a14c94fe686881a169a26f3fca.tar.bz2
linux-stable-3a572d94bcff98a14c94fe686881a169a26f3fca.zip
ALSA: usb-audio: Add native DSD support for Mytek DACs
Add new mostly generic code with Mytek VID to support native DSD mode. This implementation should be easier to maintain when manufacturers release new products. Signed-off-by: Jussi Laako <jussi@sonarnerd.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/card.h')
-rw-r--r--sound/usb/card.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/usb/card.h b/sound/usb/card.h
index 1406292d50ec..9b41b7dda84f 100644
--- a/sound/usb/card.h
+++ b/sound/usb/card.h
@@ -32,6 +32,7 @@ struct audioformat {
struct snd_pcm_chmap_elem *chmap; /* (optional) channel map */
bool dsd_dop; /* add DOP headers in case of DSD samples */
bool dsd_bitrev; /* reverse the bits of each DSD sample */
+ bool dsd_raw; /* altsetting is raw DSD */
};
struct snd_usb_substream;