| 200 | } |
| 201 | |
| 202 | Sample::Sample(fl::span<const fl::i16> span, fl::u32 timestamp) { |
| 203 | mImpl = fl::Singleton<AudioSamplePool>::instance().getOrCreate(); |
| 204 | auto begin = span.data(); |
| 205 | auto end = begin + span.size(); |
| 206 | mImpl->assign(begin, end, timestamp); |
| 207 | } |
| 208 | |
| 209 | |
| 210 | } // namespace audio |
nothing calls this directly
no test coverage detected