Lines Matching refs:audio_bus
88 const scoped_ptr<AudioBus> audio_bus(
91 // Encode |audio_bus| into |encoded_frame->data|.
92 const int num_elements = audio_bus->channels() * audio_bus->frames();
94 audio_bus->ToInterleaved(
95 audio_bus->frames(), sizeof(int16), &interleaved.front());
110 audio_bus->frames(),
148 scoped_ptr<AudioBus> audio_bus,
152 // A NULL |audio_bus| indicates a decode error, which we don't expect.
153 ASSERT_FALSE(!audio_bus);
167 for (int ch = 0; ch < audio_bus->channels(); ++ch) {
169 TestAudioBusFactory::kMiddleANoteFreq * 2 * audio_bus->frames() /
171 CountZeroCrossings(audio_bus->channel(ch), audio_bus->frames()),
179 audio_bus->frames() / GetParam().sampling_rate;