Searched refs:nbytes (Results 1 - 5 of 5) sorted by relevance

/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c112 SLuint32 nbytes = count * sfframesize; local
114 swab(buffer, buffer, nbytes);
117 squeeze((short *) buffer, (unsigned char *) buffer, nbytes);
118 nbytes /= 2;
120 squeeze24((unsigned char *) buffer, (unsigned char *) buffer, nbytes);
121 nbytes = nbytes * 3 / 4;
123 SLresult result = (*bufq)->Enqueue(bufq, buffer, nbytes);
530 SLuint32 nbytes = count * sfframesize; local
532 swab(buffer, buffer, nbytes);
[all...]
H A Dplaybq.cpp112 SLuint32 nbytes = count * sfframesize; local
114 swab(buffer, buffer, nbytes);
117 squeeze((short *) buffer, (unsigned char *) buffer, nbytes);
118 nbytes /= 2;
120 squeeze24((unsigned char *) buffer, (unsigned char *) buffer, nbytes);
121 nbytes = nbytes * 3 / 4;
123 SLresult result = (*bufq)->Enqueue(bufq, buffer, nbytes);
530 SLuint32 nbytes = count * sfframesize; local
532 swab(buffer, buffer, nbytes);
[all...]
/frameworks/base/core/java/android/speech/srec/
H A DRecognizer.java306 int nbytes = audio.read(mPutAudioBuffer);
308 if (nbytes == -1) {
312 else if (nbytes != SR_RecognizerPutAudio(mRecognizer, mPutAudioBuffer, 0, nbytes, false)) {
313 throw new IOException("SR_RecognizerPutAudio failed nbytes=" + nbytes);
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp631 ssize_t nbytes = state->mAudioTrack->write( local
634 CHECK_EQ(nbytes, (ssize_t)copy);
638 uint32_t numFramesWritten = nbytes / state->mAudioTrack->frameSize();
646 info->mOffset += nbytes;
647 info->mSize -= nbytes;
/frameworks/av/media/libstagefright/rtsp/
H A DARTPConnection.cpp384 ssize_t nbytes; local
386 nbytes = recvfrom(
393 } while (nbytes < 0 && errno == EINTR);
395 if (nbytes <= 0) {
399 buffer->setRange(0, nbytes);

Completed in 1491 milliseconds