Shared state for Android capture channels
| 188 | |
| 189 | /// Shared state for Android capture channels |
| 190 | struct AndroidCaptureState { |
| 191 | frame_channel: RwLock<Option<Channel<FrameData>>>, |
| 192 | audio_channel: RwLock<Option<Channel<AudioData>>>, |
| 193 | audio_resampler: SharedResampler, |
| 194 | frame_count: std::sync::atomic::AtomicU64, |
| 195 | } |
| 196 | |
| 197 | impl AndroidCaptureState { |
| 198 | fn new() -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected