Lines Matching defs:sample
183 writeShort(file, 2); /* 32 - # of bytes in one sample, for all channels */
184 writeShort(file, 16); /* 34 - how many bits in a sample(number)? usually 16 or 24 */
212 readShort(file); /* 32 - # of bytes in one sample, for all channels */
213 data = readShort(file); /* 34 - how many bits in a sample(number)? usually 16 or 24 */
333 short sample;
341 sample = bytes[bytePos++];
342 sample |= (unsigned int)bytes[bytePos++] << 8;
343 *buffer++ = sample;
357 short sample;
365 sample = buffer[i];
366 bytes[bytePos++] = sample;
367 bytes[bytePos++] = sample >> 8;