#include <sent/stddefs.h>
関数 | |
void | swap_bytes (char *buf, size_t unitbyte, size_t 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, | |||
size_t | 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_alsa_read()・adin_file_read()・adin_mic_read()・adin_oss_read()・adin_stdin_read()・adin_tcpip_read()・NA_read()・wrsamp().