Searched defs:write_pos (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/media/base/
H A Daudio_pull_fifo.cc28 int write_pos = frames_read; local
37 read_cb_.Run(write_pos, fifo_.get());
41 ReadFromFifo(destination, remaining_frames_to_provide, write_pos);
42 write_pos += frames_read;
51 int write_pos) {
58 float* dest = destination->channel(ch) + write_pos;
49 ReadFromFifo(AudioBus* destination, int frames_to_provide, int write_pos) argument
/external/chromium_org/third_party/opus/src/src/
H A Danalysis.h75 int write_pos; member in struct:__anon14737
/external/chromium_org/third_party/webrtc/modules/audio_processing/utility/
H A Dring_buffer.c27 size_t write_pos; member in struct:RingBuffer
98 self->write_pos = 0;
178 const size_t margin = self->element_count - self->write_pos;
182 memcpy(self->data + self->write_pos * self->element_size,
184 self->write_pos = 0;
188 memcpy(self->data + self->write_pos * self->element_size,
191 self->write_pos += n;
240 return self->write_pos - self->read_pos;
242 return self->element_count - self->read_pos + self->write_pos;
/external/libopus/src/
H A Danalysis.h75 int write_pos; member in struct:__anon24568
/external/webrtc/src/modules/audio_processing/utility/
H A Dring_buffer.c27 size_t write_pos; member in struct:__anon33507
104 self->write_pos = 0;
190 const size_t margin = self->element_count - self->write_pos;
194 memcpy(self->data + self->write_pos * self->element_size,
196 self->write_pos = 0;
200 memcpy(self->data + self->write_pos * self->element_size,
203 self->write_pos += n;
257 return self->write_pos - self->read_pos;
259 return self->element_count - self->read_pos + self->write_pos;
/external/qemu/audio/
H A Dwinaudio.c99 int write_pos; /* position in current writable buffer */ member in struct:WinAudioOut
247 s->write_pos = 0;
271 int wav_bytes = (s->write_size - s->write_pos);
275 uint8_t* dst = (uint8_t*)wav_buffer->lpData + s->write_pos;
284 // s->write_pos, s->write_size, wav_samples, wav_bytes, live, hw->rpos, hw->samples);
292 s->write_pos += wav_bytes;
293 if (s->write_pos == s->write_size) {
303 s->write_pos = 0;
/external/chromium_org/third_party/webrtc/base/
H A Dstream.cc1282 size_t count, read_pos, write_pos; local
1308 write_pos = 0;
1309 while (write_pos < read_pos) {
1310 result = sink->Write(buffer + write_pos, read_pos - write_pos,
1314 *data_len = read_pos - write_pos;
1315 if (write_pos > 0) {
1316 memmove(buffer, buffer + write_pos, *data_len);
1321 write_pos += count;

Completed in 256 milliseconds