mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -05:00
dmix: add U8 support
Add support for direct mixing of U8 samples (for devices like some USB headsets or the Tux Droid).
This commit is contained in:
parent
a3fe1f7800
commit
6e6f4b9c93
4 changed files with 43 additions and 1 deletions
|
|
@ -885,6 +885,7 @@ int snd_pcm_direct_initialize_slave(snd_pcm_direct_t *dmix, snd_pcm_t *spcm, str
|
|||
SND_PCM_FORMAT_S16,
|
||||
SND_PCM_FORMAT_S16 ^ SND_PCM_FORMAT_S16_LE ^ SND_PCM_FORMAT_S16_BE,
|
||||
SND_PCM_FORMAT_S24_3LE,
|
||||
SND_PCM_FORMAT_U8,
|
||||
};
|
||||
snd_pcm_format_t format;
|
||||
unsigned int i;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue