Fix endianess with dmix plugin

Allow different endianess with the generic dmix code, mainly for
big-endian architectures.
This commit is contained in:
Takashi Iwai 2005-09-19 12:37:08 +00:00
parent 148c2b8e7c
commit 5bf3b31cf1
5 changed files with 177 additions and 12 deletions

View file

@ -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;