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