mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-07 13:30:07 -05:00
pcm_dmix: add support for S24_LE format
From: Bart De Vos <bart_dv@eia.be> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
f171347508
commit
7fd0d9f423
4 changed files with 11 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ static void mix_select_callbacks(snd_pcm_direct_t *dmix)
|
|||
#define generic_dmix_supported_format \
|
||||
((1ULL << SND_PCM_FORMAT_S16_LE) | (1ULL << SND_PCM_FORMAT_S32_LE) |\
|
||||
(1ULL << SND_PCM_FORMAT_S16_BE) | (1ULL << SND_PCM_FORMAT_S32_BE) |\
|
||||
(1ULL << SND_PCM_FORMAT_S24_3LE) | \
|
||||
(1ULL << SND_PCM_FORMAT_S24_LE) | (1ULL << SND_PCM_FORMAT_S24_3LE) | \
|
||||
(1ULL << SND_PCM_FORMAT_U8))
|
||||
|
||||
#include <byteswap.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue