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

/external/webrtc/webrtc/common_audio/
H A Daudio_converter_unittest.cc25 typedef rtc::scoped_ptr<ChannelBuffer<float>> ScopedBuffer; typedef in namespace:webrtc
28 ScopedBuffer CreateBuffer(const std::vector<float>& data, size_t frames) {
30 ScopedBuffer sb(new ChannelBuffer<float>(frames, num_channels));
106 ScopedBuffer src_buffer = CreateBuffer(src_data, src_frames);
123 ScopedBuffer dst_buffer = CreateBuffer(dst_data, dst_frames);
124 ScopedBuffer ref_buffer = CreateBuffer(ref_data, dst_frames);

Completed in 335 milliseconds