Lines Matching refs:buffer
102 char buffer[SIZE]; in dumpInternals() local
105 snprintf(buffer, SIZE, "\tmMicMute: %s\n", mMicMute? "true": "false"); in dumpInternals()
106 result.append(buffer); in dumpInternals()
128 ssize_t AudioStreamOutStub::write(const void* buffer, size_t bytes) in write() argument
144 char buffer[SIZE]; in dump() local
146 snprintf(buffer, SIZE, "AudioStreamOutStub::dump\n"); in dump()
147 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate()); in dump()
148 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize()); in dump()
149 snprintf(buffer, SIZE, "\tchannels: %d\n", channels()); in dump()
150 snprintf(buffer, SIZE, "\tformat: %d\n", format()); in dump()
151 result.append(buffer); in dump()
175 ssize_t AudioStreamInStub::read(void* buffer, ssize_t bytes) in read() argument
180 memset(buffer, 0, bytes); in read()
187 char buffer[SIZE]; in dump() local
189 snprintf(buffer, SIZE, "AudioStreamInStub::dump\n"); in dump()
190 result.append(buffer); in dump()
191 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate()); in dump()
192 result.append(buffer); in dump()
193 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize()); in dump()
194 result.append(buffer); in dump()
195 snprintf(buffer, SIZE, "\tchannels: %d\n", channels()); in dump()
196 result.append(buffer); in dump()
197 snprintf(buffer, SIZE, "\tformat: %d\n", format()); in dump()
198 result.append(buffer); in dump()