Home
last modified time | relevance | path

Searched refs:writtenFrames (Results 1 – 1 of 1) sorted by relevance

/hardware/interfaces/audio/aidl/default/r_submix/
DStreamRemoteSubmix.cpp238 ssize_t writtenFrames = sink->write(buffer, frameCount); in outWrite() local
239 if (writtenFrames < 0) { in outWrite()
240 if (writtenFrames == (ssize_t)::android::NEGOTIATE) { in outWrite()
247 LOG(ERROR) << __func__ << ": write to pipe returned unexpected " << writtenFrames; in outWrite()
248 writtenFrames = sink->write(buffer, frameCount); in outWrite()
252 if (writtenFrames < 0) { in outWrite()
253 LOG(ERROR) << __func__ << ": failed writing to pipe with " << writtenFrames; in outWrite()
257 if (writtenFrames > 0 && frameCount > (size_t)writtenFrames) { in outWrite()
258 LOG(WARNING) << __func__ << ": wrote " << writtenFrames << " vs. requested " << frameCount; in outWrite()
260 *actualFrameCount = writtenFrames; in outWrite()