mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
Fix endianess with dmix plugin
Allow different endianess with the generic dmix code, mainly for big-endian architectures.
This commit is contained in:
parent
148c2b8e7c
commit
5bf3b31cf1
5 changed files with 177 additions and 12 deletions
|
|
@ -22,6 +22,9 @@
|
|||
#undef MIX_AREAS2
|
||||
#undef LOCK_PREFIX
|
||||
|
||||
static unsigned long long dmix_supported_format =
|
||||
(1ULL << SND_PCM_FORMAT_S16_LE) | (1ULL << SND_PCM_FORMAT_S32_LE);
|
||||
|
||||
static void mix_select_callbacks(snd_pcm_direct_t *dmix)
|
||||
{
|
||||
FILE *in;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue