Lines Matching refs:input
40 static const float input[] = {1.0f, 0.5f, -0.25f, -1.0f, 0.0f, 53.9f, -87.2f}; in TEST() local
46 int numInputFrames = sizeof(input) / sizeof(input[0]); in TEST()
47 sourceFloat.setData(input, numInputFrames); in TEST()
48 sourceFloat.output.connect(&sinkI16.input); in TEST()
59 static const float input[] = {1.0f, 2.0f, 3.0f}; in TEST() local
65 sourceFloat.setData(input, 3); in TEST()
67 sourceFloat.output.connect(&monoToStereo.input); in TEST()
68 monoToStereo.output.connect(&sinkFloat.input); in TEST()
72 EXPECT_EQ(input[0], output[0]); in TEST()
73 EXPECT_EQ(input[0], output[1]); in TEST()
74 EXPECT_EQ(input[1], output[2]); in TEST()
75 EXPECT_EQ(input[1], output[3]); in TEST()
87 rampLinear.input.setValue(value); in TEST()
92 rampLinear.output.connect(&sinkFloat.input); in TEST()
112 static const uint8_t input[] = {0x01, 0x23, 0x45, in TEST() local
119 int numInputFrames = sizeof(input) / kBytesPerI24Packed; in TEST()
120 sourceI24.setData(input, numInputFrames); in TEST()
121 sourceI24.output.connect(&sinkI24.input); in TEST()
125 for (size_t i = 0; i < sizeof(input); i++) { in TEST()
126 EXPECT_EQ(input[i], output[i]); in TEST()
134 static const float input[] = {-9.7, 0.5f, -0.25, 1.0f, 12.3}; in TEST() local
141 int numInputFrames = sizeof(input) / sizeof(input[0]); in TEST()
142 sourceFloat.setData(input, numInputFrames); in TEST()
147 sourceFloat.output.connect(&clipper.input); in TEST()
148 clipper.output.connect(&sinkFloat.input); in TEST()