]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: Define refine mask bits explicitly (and fix missing DSD support)
authorTakashi Iwai <tiwai@suse.de>
Thu, 28 Jun 2018 05:59:46 +0000 (07:59 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 28 Jun 2018 05:59:46 +0000 (07:59 +0200)
commit9fc248925bc4e8936dacd8da30527c33188fc82f
tree6860fef805cc773aad5bde8f77e5064677153e85
parent4bf0e481e6dfadddaca7b2be33b55432a317d349
pcm: Define refine mask bits explicitly (and fix missing DSD support)

Instead of the expanded bit numbers like 0x81ffffff, list up the all
supported PCM bits explicitly for refine_masks[] in pcm_params.c.
This makes easier to update any additional formats or other
parameters, and easier to spot out missing ones.

Actually the GSM and DSD formats were missing; with this commit, they
are supported properly now.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_params.c