int c; 
static int read_sample_data(int32 flags, struct timidity_file *tf, int bits, int channels, int frames, sample_t **sdata){	int				i, block_frame_count;		i = 0;	if (bits == 16)	{		if (channels == 1)		{			READ_WAVE_SAMPLE(sdata[0], 2, frames);			if (flags & SAMPLE_BIG_ENDIAN) {				#ifdef LITTLE_ENDIAN				for(i = 0; i < frames; i++)					sdata[0][i] = BE_SHORT(sdata[0][i]);				#endif			} else {				#ifdef BIG_ENDIAN				for(i = 0; i < frames; i++)					sdata[0][i] = LE_SHORT(sdata[0][i]);				#endif			}		} else {			if (flags & SAMPLE_BIG_ENDIAN) {				BLOCK_READ_BEGIN(uint16, 2, channels)				{					for(c = 0; c < channels; c++, j++)						sdata[c][i] = BE_SHORT(data[j]);				}				BLOCK_READ_END			} else {				BLOCK_READ_BEGIN(uint16, 2, channels)				{					for(c = 0; c < channels; c++, j++)						sdata[c][i] = LE_SHORT(data[j]);				}				BLOCK_READ_END			}		}	}	else	{		if (channels == 1)		{			if (flags & SAMPLE_8BIT_UNSIGNED) {				BLOCK_READ_BEGIN(uint8, 1, 1)				{					sdata[0][i] = BITS_U8_TO_16(data[j]); j++;				}				BLOCK_READ_END			} else {				BLOCK_READ_BEGIN(uint8, 1, 1)				{					sdata[0][i] = BITS_S8_TO_16(data[j]); j++;				}				BLOCK_READ_END			}		} else {			if (flags & SAMPLE_8BIT_UNSIGNED) {				BLOCK_READ_BEGIN(uint8, 1, channels)				{					for(c = 0; c < channels; c++, j++)						sdata[c][i] = BITS_U8_TO_16(data[j]);				}				BLOCK_READ_END			} else {				BLOCK_READ_BEGIN(uint8, 1, channels)				{					for(c = 0; c < channels; c++, j++)						sdata[c][i] = BITS_S8_TO_16(data[j]);				}				BLOCK_READ_END			}		}	}	return 1;	fail:		ctl->cmsg(CMSG_WARNING, VERB_VERBOSE, "Unable to read sample data");		return 0;}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/64c3a98e5ef08ab323c2ea983ca497f2df9f9db2/smplfile.c/clean/timidity/smplfile.c