Lines Matching refs:to

4  * The contents of this file are subject to the terms of the
24 * Use is subject to license terms.
45 * to make the conversion easier.
49 * order. Thus it is not possible to create a condensed header structure
61 * application should read the next integer to get the size and then
62 * seek past the unknown chunk to the next chunk.
83 * The COMMon chunk definitions. Due to an unfortunate layout, the integer
84 * aiff_comm_frames is not on a 4 byte boundary, which most compilers pad to
86 * gets around this. There are convenience macros to aid in getting and setting
87 * the value. Also, some compilers will pad the end of the data structure to
115 /* defines to get and set the frame count */
128 * structure. Use aiff_ssnd_block_size to move past the data. The size of
134 uint32_t aiff_ssnd_offset; /* offset to frame beginning */
145 #define AUDIO_AIFF_FILE2HOST_INT(from, to) \
146 *((int *)(to)) = *((int *)(from))
147 #define AUDIO_AIFF_FILE2HOST_SHORT(from, to) \
148 *((short *)(to)) = *((short *)(from))
149 #define AUDIO_AIFF_HOST2FILE_INT(from, to) \
150 *((int *)(to)) = *((int *)(from))
151 #define AUDIO_AIFF_HOST2FILE_SHORT(from, to) \
152 *((short *)(to)) = *((short *)(from))
154 #define AUDIO_AIFF_FILE2HOST_INT(from, to) \
155 (*to) = ((((*from) >> 24) & 0xff) | (((*from) & 0xff) << 24) | \
157 #define AUDIO_AIFF_FILE2HOST_SHORT(from, to) \
158 (*to) = ((((*from) >> 8) & 0xff) | (((*from) & 0xff) << 8))
159 #define AUDIO_AIFF_HOST2FILE_INT(from, to) \
160 AUDIO_AIFF_FILE2HOST_INT((from), (to))
161 #define AUDIO_AIFF_HOST2FILE_SHORT(from, to) \
162 AUDIO_AIFF_FILE2HOST_SHORT((from), (to))