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

/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp479 ssize_t written = 0; local
482 written = pTrack->write(data + offsetInBytes, sizeInBytes);
490 written = sizeInBytes;
505 // even though we wrote 2*sizeInBytes, we only report sizeInBytes as written to hide
507 written = sizeInBytes;
510 return written;
544 jint written = writeToTrack(lpTrack, javaAudioFormat, cAudioData, offsetInBytes, sizeInBytes); local
549 // (int)written, (int)(sizeInBytes), (int)offsetInBytes);
550 return written;
/frameworks/base/media/libmedia/
H A DAudioTrack.cpp810 // timing out when a loop has been set and we have already written upto loop end
902 ssize_t written = 0; local
913 // out of buffers, return #bytes written
936 written += toWrite;
941 return written;
1140 // Clear flow control error condition as new data has been written/read to/from buffer.

Completed in 30 milliseconds