Searched refs:nbytes (Results 1 - 5 of 5) sorted by relevance
/frameworks/wilhelm/tests/sandbox/ |
H A D | playbq.c | 112 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 D | playbq.cpp | 112 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 D | Recognizer.java | 306 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 D | SimplePlayer.cpp | 631 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 D | ARTPConnection.cpp | 384 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