Lines Matching defs:to

4  * The contents of this file are subject to the terms of the
74 // this is going to be the size we're setting the buffer
75 // to (buflen field). it's set by calling SetSize().
82 AUDIO_DEBUG((5, "%d: AudioBuffer::alloc - change from %d to %d bytes\n",
138 "%d: AudioBuffer::alloc - realloc to change size\n",
214 // One more validation, to be paranoid before handing out this address
221 // (as opposed to 'length' which indicates how much data is in the buffer)
229 // (as opposed to 'length' which indicates how much data is in the buffer)
259 // If buffer allocated, fiddle the sizes to account for new header type.
262 const AudioHdr& h) // header to copy
280 // If buffer allocated, change size to match new header
285 // Set the buffer length (ie, the amount of data written to the buffer)
296 // Limit to the size of the buffer
336 // Limit transfer to remaining room in buffer
347 // Fix the alignment to make sure we're not splitting frames
362 // Check to see if the endian is right.
368 // Copy data to local buffer from specified buffer.
401 // Limit transfer to remaining room in buffer
412 // Fix the alignment to make sure we're not splitting frames
426 // The end of a write to a buffer always becomes the buffer EOF
431 // AppendData is just like WriteData, except that it guarantees to extend
460 // Copy routine to copy direct to destination
463 Audio* to, // audio object to copy to
481 tohdr = to->GetHeader();
515 // re-adjust cnt so it reads up to the end of file
524 // Write the data to the destination and update pointers/ctrs
528 err = to->WriteData(bptr, cnt, topos);