| 176 | } |
| 177 | |
| 178 | TEST(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 | |
| 189 | TEST(audio, pcm_48000_2_s16) |
| 190 | { |
nothing calls this directly
no test coverage detected