Lines Matching refs:GetChannelData

92 int16_t GetChannelData(const AudioFrame& frame, size_t channel, size_t index) {  in GetChannelData()  function
103 int16_t s = GetChannelData(frame, channel, i); in VerifyFrameDataBounds()
361 EXPECT_EQ(1000, GetChannelData(frame_, 0, 99)); in TEST_F()
362 EXPECT_EQ(992, GetChannelData(frame_, 0, 100)); in TEST_F()
363 EXPECT_EQ(7, GetChannelData(frame_, 0, 226)); in TEST_F()
364 EXPECT_EQ(0, GetChannelData(frame_, 0, 227)); in TEST_F()
371 EXPECT_EQ(989, GetChannelData(frame_, 0, 0)); in TEST_F()
372 EXPECT_EQ(978, GetChannelData(frame_, 0, 1)); in TEST_F()
373 EXPECT_EQ(10, GetChannelData(frame_, 0, 91)); in TEST_F()
374 EXPECT_EQ(0, GetChannelData(frame_, 0, 92)); in TEST_F()
382 EXPECT_EQ(1000, GetChannelData(frame_, 0, 99)); in TEST_F()
383 EXPECT_EQ(-1000, GetChannelData(frame_, 1, 99)); in TEST_F()
384 EXPECT_EQ(992, GetChannelData(frame_, 0, 100)); in TEST_F()
385 EXPECT_EQ(-992, GetChannelData(frame_, 1, 100)); in TEST_F()
386 EXPECT_EQ(7, GetChannelData(frame_, 0, 226)); in TEST_F()
387 EXPECT_EQ(-7, GetChannelData(frame_, 1, 226)); in TEST_F()
388 EXPECT_EQ(0, GetChannelData(frame_, 0, 227)); in TEST_F()
389 EXPECT_EQ(0, GetChannelData(frame_, 1, 227)); in TEST_F()
397 EXPECT_EQ(989, GetChannelData(frame_, 0, 0)); in TEST_F()
398 EXPECT_EQ(-989, GetChannelData(frame_, 1, 0)); in TEST_F()
399 EXPECT_EQ(978, GetChannelData(frame_, 0, 1)); in TEST_F()
400 EXPECT_EQ(-978, GetChannelData(frame_, 1, 1)); in TEST_F()
401 EXPECT_EQ(10, GetChannelData(frame_, 0, 91)); in TEST_F()
402 EXPECT_EQ(-10, GetChannelData(frame_, 1, 91)); in TEST_F()
403 EXPECT_EQ(0, GetChannelData(frame_, 0, 92)); in TEST_F()
404 EXPECT_EQ(0, GetChannelData(frame_, 1, 92)); in TEST_F()
413 EXPECT_EQ(7, GetChannelData(frame_, 0, 0)); in TEST_F()
414 EXPECT_EQ(15, GetChannelData(frame_, 0, 1)); in TEST_F()
415 EXPECT_EQ(1000, GetChannelData(frame_, 0, 127)); in TEST_F()
416 EXPECT_EQ(1000, GetChannelData(frame_, 0, 128)); in TEST_F()
423 EXPECT_EQ(10, GetChannelData(frame_, 0, 0)); in TEST_F()
424 EXPECT_EQ(21, GetChannelData(frame_, 0, 1)); in TEST_F()
425 EXPECT_EQ(989, GetChannelData(frame_, 0, 91)); in TEST_F()
426 EXPECT_EQ(999, GetChannelData(frame_, 0, 92)); in TEST_F()
434 EXPECT_EQ(7, GetChannelData(frame_, 0, 0)); in TEST_F()
435 EXPECT_EQ(-7, GetChannelData(frame_, 1, 0)); in TEST_F()
436 EXPECT_EQ(15, GetChannelData(frame_, 0, 1)); in TEST_F()
437 EXPECT_EQ(-15, GetChannelData(frame_, 1, 1)); in TEST_F()
438 EXPECT_EQ(1000, GetChannelData(frame_, 0, 127)); in TEST_F()
439 EXPECT_EQ(-1000, GetChannelData(frame_, 1, 127)); in TEST_F()
440 EXPECT_EQ(1000, GetChannelData(frame_, 0, 128)); in TEST_F()
441 EXPECT_EQ(-1000, GetChannelData(frame_, 1, 128)); in TEST_F()
449 EXPECT_EQ(10, GetChannelData(frame_, 0, 0)); in TEST_F()
450 EXPECT_EQ(-10, GetChannelData(frame_, 1, 0)); in TEST_F()
451 EXPECT_EQ(21, GetChannelData(frame_, 0, 1)); in TEST_F()
452 EXPECT_EQ(-21, GetChannelData(frame_, 1, 1)); in TEST_F()
453 EXPECT_EQ(989, GetChannelData(frame_, 0, 91)); in TEST_F()
454 EXPECT_EQ(-989, GetChannelData(frame_, 1, 91)); in TEST_F()
455 EXPECT_EQ(999, GetChannelData(frame_, 0, 92)); in TEST_F()
456 EXPECT_EQ(-999, GetChannelData(frame_, 1, 92)); in TEST_F()