pub enum CopyAudio<'a> {
None,
Source,
Encode {
config: AudioStreamConfig,
feed: &'a mut dyn AudioBlockFeed,
},
}Expand description
The audio a packet copy writes beside its video.
Variants§
None
None.
Source
The plan’s copied audio packets; see PacketCopyPlan::copies_audio.
Encode
The export’s mix, encoded.
Fields
§
config: AudioStreamConfigThe encoder’s settings.
§
feed: &'a mut dyn AudioBlockFeedWhere the mix comes from.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CopyAudio<'a>
impl<'a> !Send for CopyAudio<'a>
impl<'a> !Sync for CopyAudio<'a>
impl<'a> !UnwindSafe for CopyAudio<'a>
impl<'a> Freeze for CopyAudio<'a>
impl<'a> Unpin for CopyAudio<'a>
impl<'a> UnsafeUnpin for CopyAudio<'a>
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