Changeset 358 for pjproject/trunk/pjmedia/include/pjmedia/wave.h
- Timestamp:
- Mar 24, 2006 8:41:20 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/wave.h
r341 r358 33 33 #define PJMEDIA_WAVE_TAG ('E'<<24|'V'<<16|'A'<<8|'W') 34 34 #define PJMEDIA_FMT_TAG (' '<<24|'t'<<16|'m'<<8|'f') 35 #define PJMEDIA_DATA_TAG ('a'<<24|'t'<<16|'a'<<8|'d') 35 36 36 37 … … 70 71 71 72 73 /** 74 * On big-endian hosts, this function swaps the byte order of the values 75 * in the WAVE header fields. On little-endian hosts, this function does 76 * nothing. 77 * 78 * Application SHOULD call this function after reading the WAVE header 79 * chunks from a file. 80 * 81 * @param hdr The WAVE header. 82 */ 83 PJ_DECL(void) pjmedia_wave_hdr_file_to_host( pjmedia_wave_hdr *hdr ); 84 85 86 /** 87 * On big-endian hosts, this function swaps the byte order of the values 88 * in the WAVE header fields. On little-endian hosts, this function does 89 * nothing. 90 * 91 * Application SHOULD call this function before writing the WAVE header 92 * to a file. 93 * 94 * @param hdr The WAVE header. 95 */ 96 PJ_DECL(void) pjmedia_wave_hdr_host_to_file( pjmedia_wave_hdr *hdr ); 97 98 72 99 PJ_END_DECL 73 100
Note: See TracChangeset
for help on using the changeset viewer.