Searched refs:framesPerBuffer (Results 1 - 2 of 2) sorted by relevance

/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c42 int framesPerBuffer = 512; variable
88 short *buffer = &buffers[framesPerBuffer * sfinfo.channels * which];
89 ssize_t count = pipeReader->read(buffer, framesPerBuffer, (int64_t) -1);
92 memset(buffer, 0, framesPerBuffer * sfinfo.channels * sizeof(short));
93 count = framesPerBuffer;
189 framesPerBuffer = atoi(&arg[2]);
287 buffers = (short *) malloc(framesPerBuffer * sfinfo.channels * sizeof(short) * numBuffers);
429 short *buffer = &buffers[framesPerBuffer * sfinfo.channels * which];
430 sf_count_t frames = framesPerBuffer;
H A Dplaybq.cpp42 int framesPerBuffer = 512; variable
88 short *buffer = &buffers[framesPerBuffer * sfinfo.channels * which];
89 ssize_t count = pipeReader->read(buffer, framesPerBuffer, (int64_t) -1);
92 memset(buffer, 0, framesPerBuffer * sfinfo.channels * sizeof(short));
93 count = framesPerBuffer;
189 framesPerBuffer = atoi(&arg[2]);
287 buffers = (short *) malloc(framesPerBuffer * sfinfo.channels * sizeof(short) * numBuffers);
429 short *buffer = &buffers[framesPerBuffer * sfinfo.channels * which];
430 sf_count_t frames = framesPerBuffer;

Completed in 30 milliseconds