Julius 4.2
関数
libsent/src/util/endian.c

バイトオーダー変換 [詳細]

#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.

説明

バイトオーダー変換

作者:
Akinobu LEE
日付:
Thu Feb 17 15:43:46 2005
Revision:
1.4

endian.c で定義されています。


関数

void swap_bytes ( char *  buf,
size_t  unitbyte,
size_t  unitnum 
)

Generic byte-swapping functions for any size of unit.

引数:
buf[i/o] data buffer
unitbyte[in] size of unit in bytes
unitnum[in] number of unit in the buffer

endian.c35 行で定義されています。

参照元 myread(), mywrite(), rdnfunc(), read_param(), と wrtfunc().

void swap_sample_bytes ( SP16 buf,
int  len 
)

Byte swapping of 16bit audio samples.

引数:
buf[i/o] data buffer
len[in] length of above

endian.c59 行で定義されています。

参照元 adin_alsa_read(), adin_file_read(), adin_mic_read(), adin_oss_read(), adin_stdin_read(), adin_tcpip_read(), NA_read(), と wrsamp().