Lines Matching refs:p

149     void *p, *ptemp;  in soundGetBuffer()  local
162 if (p = malloc(soundinfo.bufferLength / 2)) in soundGetBuffer()
169 soundStereoCombine8Bit(p, ptemp, soundinfo.samples); in soundGetBuffer()
172 soundStereoCombine16Bit(p, ptemp, soundinfo.samples); in soundGetBuffer()
179 soundStereoLeft8Bit(p, ptemp, soundinfo.samples); in soundGetBuffer()
182 soundStereoLeft16Bit(p, ptemp, soundinfo.samples); in soundGetBuffer()
189 soundStereoRight8Bit(p, ptemp, soundinfo.samples); in soundGetBuffer()
192 soundStereoRight16Bit(p, ptemp, soundinfo.samples); in soundGetBuffer()
199 return p; in soundGetBuffer()
218 void *p; in soundPack8BitSource() local
225 if (p = malloc(bytes)) in soundPack8BitSource()
229 p, in soundPack8BitSource()
237 p, in soundPack8BitSource()
247 p, in soundPack8BitSource()
256 free(p); in soundPack8BitSource()
282 void *p; in soundPack8BitSource() local
286 if (p = malloc(bytes)) in soundPack8BitSource()
288 soundConvert8to16Bit(p, source, soundinfo.samples); in soundPack8BitSource()
294 p, in soundPack8BitSource()
303 free(p); in soundPack8BitSource()
323 void *p; in soundPack16BitSource() local
330 if (p = malloc(bytes)) in soundPack16BitSource()
334 p, in soundPack16BitSource()
342 p, in soundPack16BitSource()
351 p, in soundPack16BitSource()
360 free(p); in soundPack16BitSource()
370 void *p; in soundPack16BitSource() local
374 if (p = malloc(bytes)) in soundPack16BitSource()
376 soundConvert16to8Bit(p, source, soundinfo.samples); in soundPack16BitSource()
382 p, in soundPack16BitSource()
391 free(p); in soundPack16BitSource()
438 void *p; in soundPrintSound() local
459 if (p = soundGetBuffer()) in soundPrintSound()
465 soundPack8BitSource(p); in soundPrintSound()
471 soundPack16BitSource(p); in soundPrintSound()
476 free(p); in soundPrintSound()