pub(crate) struct PaPlaybackSession {
pub(crate) stream: Stream,
pub(crate) context: Context,
pub(crate) mainloop: Mainloop,
}Expand description
One PulseAudio session for playback: mainloop, context, and the playback stream, all
recreated together on reconnect — the mirror of PaCaptureSession, with the same
drop-order requirement (stream first, then its context, then the mainloop).
Fields§
§stream: Stream§context: ContextMust outlive the stream (the connection owns it); never read after open.
mainloop: MainloopAuto Trait Implementations§
impl !RefUnwindSafe for PaPlaybackSession
impl !Send for PaPlaybackSession
impl !Sync for PaPlaybackSession
impl !UnwindSafe for PaPlaybackSession
impl Freeze for PaPlaybackSession
impl Unpin for PaPlaybackSession
impl UnsafeUnpin for PaPlaybackSession
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