Searched refs:capacity (Results 1 – 7 of 7) sorted by relevance
28 RWBuffer(int capacity) in RWBuffer() argument29 : mCapacity(capacity), in RWBuffer()32 mBuffer = new char[capacity]; in RWBuffer()
24 Buffer::Buffer(size_t capacity, size_t size, bool stereo) in Buffer() argument25 : mCapacity(capacity), in Buffer()30 mData = new char[capacity]; in Buffer()36 memset(mData, capacity, 0); in Buffer()
269 if (bufferSize > data.capacity()) { in handleStartPlayback()270 bufferSize = data.capacity(); in handleStartPlayback()283 int dataToWrite = (bufferSize < data.capacity())? bufferSize : data.capacity(); in handleStartPlayback()288 int endMarker = data.capacity()/(stereo ? 4 : 2); in handleStartPlayback()290 Log.d(TAG, "start playback id " + id + " len " + data.capacity() + in handleStartPlayback()294 while (dataWritten < data.capacity()) { in handleStartPlayback()295 int dataLeft = data.capacity() - dataWritten; in handleStartPlayback()
35 Buffer(size_t capacity, size_t size = 0, bool stereo = true);
291 PositionSet(int capacity) { in PositionSet() argument292 mPositions = new int[capacity]; in PositionSet()
14140 public int capacity()18563 public volatile int capacity()18779 public volatile int capacity()26405 final int capacity26421 public final int capacity()47923 public int capacity()52292 private final int capacity74772 private final int capacity
154137 public int capacity()154204 public int capacity()