Lines Matching refs:buffers
297 // Given two buffers starting at different frame offsets, this function
316 // Given two buffers starting at different frame offsets, this function
331 // Allocates a set of buffers.
357 // Frees the allocated buffers.
393 // Returns the first unused buffer or NULL if all buffers are used.
405 // Returns either an unused buffer or, if all buffers are used, the least
427 // buffer or, if all buffers are used, the least recently used buffer.
440 // Adds pointers to all buffers to the list that contain data of the
443 MediaTrackAudioSupplier::_GetBuffersFor(BList& buffers, int64 position,
446 buffers.MakeEmpty();
453 buffers.AddItem(buffer);
500 // accordingly. The used cache buffers are stamped with the supplied
506 // Get a list of all cache buffers that contain data of the interval,
508 BList buffers(10);
509 _GetBuffersFor(buffers, pos, frames);
510 buffers.SortItems(Buffer::CompareOffset);
511 // Step forward through the list of cache buffers and try to read as
513 for (int32 i = 0; Buffer* buffer = (Buffer*)buffers.ItemAt(i); i++) {
524 // Step backward through the list of cache buffers and try to read as
526 for (int32 i = buffers.CountItems() - 1;
527 Buffer* buffer = (Buffer*)buffers.ItemAt(i);
544 New cache buffers are stamped with the supplied time.