pub struct AudioCapture {
video_ready: Arc<AtomicBool>,
audio_ready: Arc<AtomicBool>,
}
Fields§
§video_ready: Arc<AtomicBool>
§audio_ready: Arc<AtomicBool>
Implementations§
Source§impl AudioCapture
impl AudioCapture
pub fn new(video_ready: Arc<AtomicBool>, audio_ready: Arc<AtomicBool>) -> Self
pub fn run( &self, ringbuf_producer: HeapProd<RawAudioFrame>, start_time: Instant, termination_recv: Receiver<Terminate>, saving: Arc<AtomicBool>, ) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for AudioCapture
impl RefUnwindSafe for AudioCapture
impl Send for AudioCapture
impl Sync for AudioCapture
impl Unpin for AudioCapture
impl UnwindSafe for AudioCapture
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more