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

/frameworks/base/media/libmediaplayerservice/
H A DVorbisPlayer.cpp424 long numread = 0; local
449 numread = ov_read(&mVorbisFile, mAudioBuffer, AUDIOBUFFER_SIZE, &current_section);
450 if (numread == 0) {
456 numread = ov_read(&mVorbisFile, mAudioBuffer, AUDIOBUFFER_SIZE, &current_section);
480 numread = ov_read(&mVorbisFile, mAudioBuffer, AUDIOBUFFER_SIZE, &current_section);
487 if (numread < 0) {
501 if ((temp = mAudioSink->write(mAudioBuffer, numread)) < 0) {

Completed in 531 milliseconds