Lines Matching defs:dst_frame
26 AudioFrame* dst_frame) {
29 resampler, dst_frame);
30 dst_frame->timestamp_ = src_frame.timestamp_;
31 dst_frame->elapsed_time_ms_ = src_frame.elapsed_time_ms_;
32 dst_frame->ntp_time_ms_ = src_frame.ntp_time_ms_;
40 AudioFrame* dst_frame) {
46 if (num_channels == 2 && dst_frame->num_channels_ == 1) {
53 if (resampler->InitializeIfNeeded(sample_rate_hz, dst_frame->sample_rate_hz_,
56 << sample_rate_hz << ", dst_frame->sample_rate_hz_ = "
57 << dst_frame->sample_rate_hz_
63 int out_length = resampler->Resample(audio_ptr, src_length, dst_frame->data_,
68 << ", dst_frame->data_ = " << dst_frame->data_;
71 dst_frame->samples_per_channel_ = out_length / audio_ptr_num_channels;
74 if (num_channels == 1 && dst_frame->num_channels_ == 2) {
75 // The audio in dst_frame really is mono at this point; MonoToStereo will
77 dst_frame->num_channels_ = 1;
78 AudioFrameOperations::MonoToStereo(dst_frame);