Searched defs:nbytes (Results 1 - 4 of 4) sorted by relevance

/frameworks/native/include/utils/
H A DCompat.h35 static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) { argument
36 return pread(fd, buf, nbytes, offset);
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp627 ssize_t nbytes = state->mAudioTrack->write( local
630 CHECK_EQ(nbytes, (ssize_t)copy);
634 uint32_t numFramesWritten = nbytes / state->mAudioTrack->frameSize();
642 info->mOffset += nbytes;
643 info->mSize -= nbytes;
/frameworks/av/media/libstagefright/rtsp/
H A DARTPConnection.cpp383 ssize_t nbytes; local
385 nbytes = recvfrom(
392 } while (nbytes < 0 && errno == EINTR);
394 if (nbytes <= 0) {
398 buffer->setRange(0, nbytes);
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c86 SLuint32 nbytes = count * sfinfo.channels * sizeof(short); local
88 swab(buffer, buffer, nbytes);
91 squeeze(buffer, (unsigned char *) buffer, nbytes);
92 nbytes /= 2;
94 SLresult result = (*bufq)->Enqueue(bufq, buffer, nbytes);
387 SLuint32 nbytes = count * sfinfo.channels * sizeof(short); local
389 swab(buffer, buffer, nbytes);
392 squeeze(buffer, (unsigned char *) buffer, nbytes);
393 nbytes /= 2;
395 result = (*playerBufferQueue)->Enqueue(playerBufferQueue, buffer, nbytes);
[all...]

Completed in 36 milliseconds