Searched refs:framesPerBuffer (Results 1 – 4 of 4) sorted by relevance
39 int framesPerBuffer = 512; variable79 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which; in callback()80 ssize_t count = fifoReader->read(buffer, framesPerBuffer); in callback()83 memset(buffer, 0, framesPerBuffer * sfframesize); in callback()84 count = framesPerBuffer; in callback()198 framesPerBuffer = atoi(&arg[2]); in main()335 buffers = malloc(framesPerBuffer * sfframesize * numBuffers); in main()482 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which; in main()483 sf_count_t frames = framesPerBuffer; in main()
283 String framesPerBuffer = am.getProperty(AudioManager.PROPERTY_OUTPUT_FRAMES_PER_BUFFER); in onCreate() local284 if (framesPerBuffer == null) framesPerBuffer = Integer.toString(mMaxFramesPerBuffer); in onCreate()285 mFramesPerBuffer = Integer.parseInt(framesPerBuffer); in onCreate()
333 const size_t framesPerBuffer = in open() local338 bufferCount = (suggestedFrameCount + framesPerBuffer - 1) / framesPerBuffer; in open()347 frameCount = bufferCount * framesPerBuffer; in open()
1909 const size_t framesPerBuffer = in open() local1914 bufferCount = (suggestedFrameCount + framesPerBuffer - 1) / framesPerBuffer; in open()1923 frameCount = bufferCount * framesPerBuffer; in open()