mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
pcm: add and describe SND_PCM_FORMAT_{S, U}20
This patch adds and describes in various functions that query format
properties SND_PCM_FORMAT_{S,U}20 formats that were recently added to the
kernel as SNDRV_PCM_FORMAT_{S,U}20.
These formats are similar to existing 20-bit PCM formats
SND_PCM_FORMAT_{S,U}20_3, however they occupy 4 bytes instead of 3.
Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
22e6b3c200
commit
d67e42c139
4 changed files with 70 additions and 5 deletions
|
|
@ -984,6 +984,10 @@ const snd_config_t *snd_pcm_rate_get_default_converter(snd_config_t *root);
|
|||
(1U << SND_PCM_FORMAT_S16_BE) | \
|
||||
(1U << SND_PCM_FORMAT_U16_LE) | \
|
||||
(1U << SND_PCM_FORMAT_U16_BE) | \
|
||||
(1U << SND_PCM_FORMAT_S20_LE) | \
|
||||
(1U << SND_PCM_FORMAT_S20_BE) | \
|
||||
(1U << SND_PCM_FORMAT_U20_LE) | \
|
||||
(1U << SND_PCM_FORMAT_U20_BE) | \
|
||||
(1U << SND_PCM_FORMAT_S24_LE) | \
|
||||
(1U << SND_PCM_FORMAT_S24_BE) | \
|
||||
(1U << SND_PCM_FORMAT_U24_LE) | \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue