Lines Matching refs:nbytes
55 static SLuint32 squeeze(void *buffer, SLuint32 nbytes) in squeeze() argument
59 swab(buffer, buffer, nbytes); in squeeze()
63 nbytes / sizeof(int16_t)); in squeeze()
64 nbytes /= 2; in squeeze()
67 nbytes / sizeof(int32_t)); in squeeze()
68 nbytes = nbytes * 3 / 4; in squeeze()
70 return nbytes; in squeeze()
88 SLuint32 nbytes = count * sfframesize; in callback() local
89 nbytes = squeeze(buffer, nbytes); in callback()
90 SLresult result = (*bufq)->Enqueue(bufq, buffer, nbytes); in callback()
509 SLuint32 nbytes = count * sfframesize; in main() local
510 nbytes = squeeze(buffer, nbytes); in main()
511 result = (*playerBufferQueue)->Enqueue(playerBufferQueue, buffer, nbytes); in main()