Home | History | Annotate | Download | only in base

Lines Matching full:destination

96 void AudioFifo::Consume(AudioBus* destination,
99 DCHECK(destination);
100 DCHECK_EQ(destination->channels(), audio_bus_->channels());
105 // A copy from the FIFO to |destination| will only be performed if the
106 // allocated memory in |destination| is sufficient.
107 CHECK_LE(frames_to_consume + start_frame, destination->frames());
117 // and copy the content to the destination. Wrap around if needed.
118 for (int ch = 0; ch < destination->channels(); ++ch) {
119 float* dest = destination->channel(ch);
122 // Copy a selected part of the FIFO to the destination.
125 // Wrapping is needed: copy remaining part to the destination.