#include <sent/stddefs.h>
関数 | |
void | swap_bytes (char *buf, size_t unitbyte, int unitnum) |
Generic byte-swapping functions for any size of unit. | |
void | swap_sample_bytes (SP16 *buf, int len) |
Byte swapping of 16bit audio samples. |
endian.c で定義されています。
void swap_bytes | ( | char * | buf, | |
size_t | unitbyte, | |||
int | unitnum | |||
) |
void swap_sample_bytes | ( | SP16 * | buf, | |
int | len | |||
) |
Byte swapping of 16bit audio samples.
buf | [i/o] data buffer | |
len | [in] length of above |
参照元 adin_file_read(), adin_mic_read(), adin_stdin_read(), adin_tcpip_read(), NA_read(), と wrsamp().