View | Details | Raw Unified
Collapse All | Expand All

(-) include/sswf/libsswf.h.old (-2 / +3 lines)
 Lines 2157-2164    Link Here 
	struct sound_wave_t {
	struct sound_wave_t {
		short		format;			// the data format (we only support PCM)
		short		format;			// the data format (we only support PCM)
		short		channels;		// number of channels (1 - mono, 2 - stereo)
		short		channels;		// number of channels (1 - mono, 2 - stereo)
		long		rate;			// exact sample rate to play the sound at
/* rate and average_rate are 4 bytes each, long on some platforms is 8 bytes */
		long		avarage_rate;		// average rate for the entire set of samples (this may vary in compressed files)
		int		rate;			// exact sample rate to play the sound at
		int		avarage_rate;		// average rate for the entire set of samples (this may vary in compressed files)
		short		align;			// byte alignment of the samples (every char, short, long...)
		short		align;			// byte alignment of the samples (every char, short, long...)
		/* the following is format dependent, but at this time doesn't vary for us */
		/* the following is format dependent, but at this time doesn't vary for us */
		short		width;			// width of the samples (8 or 16)
		short		width;			// width of the samples (8 or 16)