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

/external/chromium_org/media/audio/pulse/
H A Dpulse_output.cc123 size_t bytes_to_fill = params_.GetBytesPerBuffer(); local
124 CHECK_GE(pa_stream_begin_write(pa_stream_, &buffer, &bytes_to_fill), 0);
125 CHECK_EQ(bytes_to_fill, static_cast<size_t>(params_.GetBytesPerBuffer()));
127 // NOTE: |bytes_to_fill| may be larger than |requested_bytes| now, this is
150 memset(buffer, 0, bytes_to_fill);
153 if (pa_stream_write(pa_stream_, buffer, bytes_to_fill, NULL, 0LL,
161 bytes_remaining -= bytes_to_fill;

Completed in 113 milliseconds