Searched refs:nbytes (Results 1 - 5 of 5) sorted by relevance
/frameworks/native/include/utils/ |
H A D | Compat.h | 35 static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) { argument 36 return pread(fd, buf, nbytes, offset);
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | playbq.c | 86 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...] |
/frameworks/base/core/java/android/speech/srec/ |
H A D | Recognizer.java | 308 int nbytes = audio.read(mPutAudioBuffer); 310 if (nbytes == -1) { 314 else if (nbytes != SR_RecognizerPutAudio(mRecognizer, mPutAudioBuffer, 0, nbytes, false)) { 315 throw new IOException("SR_RecognizerPutAudio failed nbytes=" + nbytes);
|
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 627 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 D | ARTPConnection.cpp | 383 ssize_t nbytes; local 385 nbytes = recvfrom( 392 } while (nbytes < 0 && errno == EINTR); 394 if (nbytes <= 0) { 398 buffer->setRange(0, nbytes);
|
Completed in 257 milliseconds