Lines Matching refs:mFile
267 mBufferSize(1024), mFinalStream(finalStream), mFile(0), mFileCount(0) in AudioStreamOutDump()
289 if(!mFile) { in write()
293 mFile = fopen(name, "wb"); in write()
294 ALOGV("Opening dump file %s, fh %p", name, mFile); in write()
297 if (mFile) { in write()
298 fwrite(buffer, bytes, 1, mFile); in write()
305 ALOGV("AudioStreamOutDump standby(), mFile %p, mFinalStream %p", mFile, mFinalStream); in standby()
362 if (mFile == 0) { in setParameters()
377 if (mFile == 0) { in setParameters()
405 if(mFile) { in Close()
406 fclose(mFile); in Close()
407 mFile = 0; in Close()
428 mBufferSize(1024), mFinalStream(finalStream), mFile(0), mFileCount(0) in AudioStreamInDump()
445 if(!mFile) { in read()
449 mFile = fopen(name, "wb"); in read()
450 ALOGV("Opening input dump file %s, fh %p", name, mFile); in read()
453 if (mFile) { in read()
454 fwrite(buffer, bytes, 1, mFile); in read()
459 if(!mFile) { in read()
482 mFile = fopen(name, "rb"); in read()
483 ALOGV("Opening input read file %s, fh %p", name, mFile); in read()
484 if (mFile) { in read()
485 fseek(mFile, AUDIO_DUMP_WAVE_HDR_SIZE, SEEK_SET); in read()
488 if (mFile) { in read()
489 ssize_t bytesRead = fread(buffer, bytes, 1, mFile); in read()
491 fseek(mFile, AUDIO_DUMP_WAVE_HDR_SIZE, SEEK_SET); in read()
492 fread((uint8_t *)buffer+bytesRead, bytes-bytesRead, 1, mFile); in read()
502 ALOGV("AudioStreamInDump standby(), mFile %p, mFinalStream %p", mFile, mFinalStream); in standby()
568 if(mFile) { in Close()
569 fclose(mFile); in Close()
570 mFile = 0; in Close()