Little / Big endian in alsa_dev.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi list!
When setting the format in the alsa device, in the file alsa_dev uses
format = SND_PCM_FORMAT_S16_LE;
I wonder if it would be better to use the format SND_PCM_FORMAT_S16 (CPU
endian instead of little endian).
I use a power pc achitecture and I had problems with the little endian
version, so I change it to the CPU endian.

Is there a special reason of using the SND_PCM_FORMAT_S16_LE?
Thanks a lot!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120224/746b2f56/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux