Lines Matching defs:bytes
34 ** 2 magic bytes: 1 and 4.
36 ** 3 bytes: level, tune and channels (0 for channels is mono while 1 is stereo)
159 unsigned char bytes [4] ;
163 psf_binheader_readf (psf, "pebb", 0, bytes, 2, sample_name, make_size_t (HEADER_NAME_LEN)) ;
165 if (bytes [0] != 1 || bytes [1] != 4)
172 psf_binheader_readf (psf, "eb4444", bytes, 3, &sample_start, &loop_end, &sample_frames, &loop_length) ;
174 psf->sf.channels = bytes [2] ? 2 : 1 ;
176 psf_log_printf (psf, " Level : %d\n Tune : %d\n Stereo : %s\n", bytes [0], bytes [1], bytes [2] ? "Yes" : "No") ;
180 psf_binheader_readf (psf, "eb2", bytes, 2, &sample_rate) ;
182 psf_log_printf (psf, " Loop mode : %s\n Beats : %d\n Sample rate : %d\nEnd\n", bytes [0] ? "None" : "Fwd", bytes [1], sample_rate) ;