MCPcopy Create free account
hub / github.com/alibaba/CicadaPlayer / TEST

Function TEST

framework/tests/render/renderTest.cpp:178–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178TEST(audio, pcm_44100_2_s16)
179{
180 std::unique_ptr<IAudioRender> render = AudioRenderFactory::create();
181 IAFFrame::audioInfo info{};
182 info.sample_rate = 44100;
183 info.channels = 2;
184 info.format = AF_SAMPLE_FMT_S16;
185 int ret = render->init(&info);
186 ASSERT_GE(ret, 0);
187}
188
189TEST(audio, pcm_48000_2_s16)
190{

Callers

nothing calls this directly

Calls 2

test_renderFunction · 0.85
initMethod · 0.45

Tested by

no test coverage detected