version 1.8, 2003/03/06 13:51:31 |
version 1.9, 2004/11/05 21:57:05 |
|
|
|
|
<h3><font color="#0000e0">16 bit formats and endianess</font></h3> |
<h3><font color="#0000e0">16 bit formats and endianess</font></h3> |
In normal usage, you just ask for an encoding type (e.g., |
In normal usage, you just ask for an encoding type (e.g., |
<code>AUDIO_ENCODING_SLINEAR</code>, and you retrieve |
<code>AUDIO_ENCODING_SLINEAR</code>), and you retrieve |
an encoding with endianess (e.g., <code>AUDIO_ENCODING_SLINEAR_LE</code>). |
an encoding with endianess (e.g., <code>AUDIO_ENCODING_SLINEAR_LE</code>). |
Considering that a soundcard does not have to use the same endianess |
Considering that a soundcard does not have to use the same endianess |
as your platform, you should be prepared to deal with that. |
as your platform, you should be prepared to deal with that. |