Lines Matching refs:buffer
167 char buffer[SIZE];
170 snprintf(buffer, SIZE, "\tmFd: %d mMicMute: %s\n", mFd, mMicMute? "true": "false");
171 result.append(buffer);
231 ssize_t AudioStreamOutGeneric::write(const void* buffer, size_t bytes)
234 return ssize_t(::write(mFd, buffer, bytes));
246 char buffer[SIZE];
248 snprintf(buffer, SIZE, "AudioStreamOutGeneric::dump\n");
249 result.append(buffer);
250 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate());
251 result.append(buffer);
252 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize());
253 result.append(buffer);
254 snprintf(buffer, SIZE, "\tchannels: %d\n", channels());
255 result.append(buffer);
256 snprintf(buffer, SIZE, "\tformat: %d\n", format());
257 result.append(buffer);
258 snprintf(buffer, SIZE, "\tdevice: %d\n", mDevice);
259 result.append(buffer);
260 snprintf(buffer, SIZE, "\tmAudioHardware: %p\n", mAudioHardware);
261 result.append(buffer);
262 snprintf(buffer, SIZE, "\tmFd: %d\n", mFd);
263 result.append(buffer);
341 ssize_t AudioStreamInGeneric::read(void* buffer, ssize_t bytes)
348 return ::read(mFd, buffer, bytes);
354 char buffer[SIZE];
356 snprintf(buffer, SIZE, "AudioStreamInGeneric::dump\n");
357 result.append(buffer);
358 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate());
359 result.append(buffer);
360 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize());
361 result.append(buffer);
362 snprintf(buffer, SIZE, "\tchannels: %d\n", channels());
363 result.append(buffer);
364 snprintf(buffer, SIZE, "\tformat: %d\n", format());
365 result.append(buffer);
366 snprintf(buffer, SIZE, "\tdevice: %d\n", mDevice);
367 result.append(buffer);
368 snprintf(buffer, SIZE, "\tmAudioHardware: %p\n", mAudioHardware);
369 result.append(buffer);
370 snprintf(buffer, SIZE, "\tmFd: %d\n", mFd);
371 result.append(buffer);