src/media/audio/audio_core/mixer/test/mixer_bitwise_tests.cc
//
// DataFormats tests - can we "connect the dots" from data source to data
// destination, for any permutation of format/configuration settings
//
// If the source sample rate is an integer-multiple of the destination rate
// (including 1, for pass-thru resampling), select the PointSampler
//
// Create PointSampler objects for incoming buffers of type uint8
DataFormats tests - can we "connect the dots" from data source to data
destination, for any permutation of format/configuration settings

If the source sample rate is an integer-multiple of the destination rate
(including 1, for pass-thru resampling), select the PointSampler

Create PointSampler objects for incoming buffers of type uint8
DataFormats tests - can we " connect the dots " from data source to data destination for any permutation of format / configuration settings If the source sample rate is an integer - multiple of the destination rate ( including 1 for pass - thru resampling ) select the PointSampler Create PointSampler objects for incoming buffers of type uint8
TEST(DataFormats, PointSampler_8) {
  EXPECT_NE(nullptr, SelectMixer(fuchsia::media::AudioSampleFormat::UNSIGNED_8, 2, 32000, 1, 16000,
                                 Resampler::SampleAndHold));
  EXPECT_NE(nullptr, SelectMixer(fuchsia::media::AudioSampleFormat::UNSIGNED_8, 4, 48000, 4, 48000,
                                 Resampler::SampleAndHold));
}
TEST ( DataFormats , PointSampler_8 ) { EXPECT_NE ( nullptr , SelectMixer ( fuchsia :: media :: AudioSampleFormat :: UNSIGNED_8 , 2 , 32000 , 1 , 16000 , Resampler :: SampleAndHold ) ) ; EXPECT_NE ( nullptr , SelectMixer ( fuchsia :: media :: AudioSampleFormat :: UNSIGNED_8 , 4 , 48000 , 4 , 48000 , Resampler :: SampleAndHold ) ) ; }
DataFormats tests - can we "connect the dots" from data source to data
destination, for any permutation of format/configuration settings
DataFormats tests - can we " connect the dots " from data source to data destination for any permutation of format / configuration settings