Lines Matching refs:nbytes
70 static SLuint32 squeeze(void *buffer, SLuint32 nbytes) in squeeze() argument
74 swab(buffer, buffer, nbytes); in squeeze()
78 nbytes / sizeof(int16_t)); in squeeze()
79 nbytes /= 2; in squeeze()
82 nbytes / sizeof(int32_t)); in squeeze()
83 nbytes = nbytes * 3 / 4; in squeeze()
85 return nbytes; in squeeze()
103 SLuint32 nbytes = count * sfframesize; in callback() local
104 nbytes = squeeze(buffer, nbytes); in callback()
105 SLresult result = (*bufq)->Enqueue(bufq, buffer, nbytes); in callback()
524 SLuint32 nbytes = count * sfframesize; in main() local
525 nbytes = squeeze(buffer, nbytes); in main()
526 result = (*playerBufferQueue)->Enqueue(playerBufferQueue, buffer, nbytes); in main()