[alsa-devel] dsd formats in ALSA plugins

slava slavak61 at gmail.com
Wed Jun 27 20:34:34 CEST 2018


Sorry, don't receive my own post, so can't reply

Find in alsa-lib-1.1.6 file src/pcm/pcm-params.c line 1945

static const snd_mask_t refine_masks[SND_PCM_HW_PARAM_LAST_MASK - 
SND_PCM_HW_PARAM_FIRST_MASK + 1] = {
     [SND_PCM_HW_PARAM_ACCESS - SND_PCM_HW_PARAM_FIRST_MASK] = {
         .bits = { 0x1f },
     },
     [SND_PCM_HW_PARAM_FORMAT - SND_PCM_HW_PARAM_FIRST_MASK] = {
         .bits = { 0x81ffffff, 0xfff},

Change last 0xfff to 0xfffff and now can use DSD formats

How i understand, in version 1.0.27 last format = 43
and when new format was added but mask not changed

May be i absolutely wrong and what i do has side effects or
needed any else?

Thanks


More information about the Alsa-devel mailing list