libsent/src/util/endian.c

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

#include <sent/stddefs.h>
endian.cのインクルード依存関係図

ソースコードを見る。

関数

void swap_bytes (char *buf, size_t unitbyte, int unitnum)
void swap_sample_bytes (SP16 *buf, int len)

説明

バイトオーダー変換

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

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


関数

void swap_bytes ( char *  buf,
size_t  unitbyte,
int  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.c34 行で定義されています。

参照元 myread(), mywrite(), rdn(), read_param(), と wrt().

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.c58 行で定義されています。

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


Juliusに対してTue Sep 22 00:15:33 2009に生成されました。  doxygen 1.6.0