OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bus1
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/content/renderer/media/
webaudiosourceprovider_impl_unittest.cc
70
bool CompareBusses(const media::AudioBus*
bus1
, const media::AudioBus* bus2) {
71
EXPECT_EQ(
bus1
->channels(), bus2->channels());
72
EXPECT_EQ(
bus1
->frames(), bus2->frames());
73
for (int ch = 0; ch <
bus1
->channels(); ++ch) {
74
if (memcmp(
bus1
->channel(ch), bus2->channel(ch),
75
sizeof(*
bus1
->channel(ch)) *
bus1
->frames()) != 0) {
159
scoped_ptr<media::AudioBus>
bus1
= media::AudioBus::Create(params_);
local
162
// Point the WebVector into memory owned by |
bus1
|.
163
blink::WebVector<float*> audio_data(static_cast<size_t>(
bus1
->channels()))
[
all
...]
/external/chromium_org/media/base/
audio_bus_unittest.cc
83
// Verify copying to and from |
bus1
| and |bus2|.
84
void CopyTest(AudioBus*
bus1
, AudioBus* bus2) {
85
// Fill |
bus1
| with dummy data.
86
for (int i = 0; i <
bus1
->channels(); ++i)
87
std::fill(
bus1
->channel(i),
bus1
->channel(i) +
bus1
->frames(), i);
89
// Verify copy from |
bus1
| to |bus2|.
91
bus1
->CopyTo(bus2);
92
VerifyBus(
bus1
, bus2)
169
scoped_ptr<AudioBus>
bus1
= AudioBus::Create(kChannels, kFrameCount);
local
[
all
...]
audio_buffer_queue_unittest.cc
338
scoped_ptr<AudioBus>
bus1
= AudioBus::Create(channels, 100);
local
340
EXPECT_EQ(60, buffer.PeekFrames(100, 0, 0,
bus1
.get()));
341
EXPECT_EQ(30, buffer.PeekFrames(30, 0, 0,
bus1
.get()));
348
VerifyResult(
bus1
->channel(i),
359
EXPECT_EQ(5, buffer.PeekFrames(5, 10, 0,
bus1
.get()));
361
VerifyResult(
bus1
->channel(i),
369
EXPECT_EQ(30, buffer.PeekFrames(100, 0, 0,
bus1
.get()));
370
EXPECT_EQ(30, buffer.PeekFrames(30, 0, 0,
bus1
.get()));
Completed in 148 milliseconds