Struct pipewire_wrapper::core_api::PipeWire
source · pub struct PipeWire {}
Expand description
PipeWire structure
Implementations§
source§impl PipeWire
impl PipeWire
sourcepub fn debug_is_category_enabled(&self, name: &CString) -> bool
pub fn debug_is_category_enabled(&self, name: &CString) -> bool
Check if a debug category is enabled. Debugging categories can be enabled by using the PIPEWIRE_DEBUG environment variable.
Arguments
name
- the name of the category to check
sourcepub fn get_application_name(&self) -> Option<&CStr>
pub fn get_application_name(&self) -> Option<&CStr>
Application name.
sourcepub fn get_prgname(&self) -> Option<&CStr>
pub fn get_prgname(&self) -> Option<&CStr>
Program name.
sourcepub fn get_user_name(&self) -> Option<&CStr>
pub fn get_user_name(&self) -> Option<&CStr>
User name
sourcepub fn get_host_name(&self) -> Option<&CStr>
pub fn get_host_name(&self) -> Option<&CStr>
Host name
sourcepub fn get_client_name(&self) -> Option<&CStr>
pub fn get_client_name(&self) -> Option<&CStr>
Client name
sourcepub fn in_valgrind(&self) -> bool
pub fn in_valgrind(&self) -> bool
Is PipeWire running on Valgrind
sourcepub fn check_option(&self, option: &CStr, value: &CStr) -> bool
pub fn check_option(&self, option: &CStr, value: &CStr) -> bool
Check option switch, i.e. in-valgrind, no-color, no-config, do-dlclose
sourcepub fn direction_reverse(direction: &Direction) -> Direction
pub fn direction_reverse(direction: &Direction) -> Direction
Get reversed Direction
sourcepub fn set_domain(&self, domain: &CStr) -> Result<()>
pub fn set_domain(&self, domain: &CStr) -> Result<()>
Set domain
sourcepub fn get_domain(&self) -> Option<&CStr>
pub fn get_domain(&self) -> Option<&CStr>
Domain
sourcepub fn get_spa_support(&self, max_support_elements: usize) -> Vec<SupportRef>
pub fn get_spa_support(&self, max_support_elements: usize) -> Vec<SupportRef>
Get support list
sourcepub fn load_spa_handle(
&self,
lib: &CStr,
factory_name: &CStr,
info: &DictRef,
support: Vec<SupportRef>
) -> Option<&HandleRef>
pub fn load_spa_handle( &self, lib: &CStr, factory_name: &CStr, info: &DictRef, support: Vec<SupportRef> ) -> Option<&HandleRef>
Load SPA handle
sourcepub fn unload_spa_handle(&self, handle: &HandleRef) -> Result<()>
pub fn unload_spa_handle(&self, handle: &HandleRef) -> Result<()>
Unload handle
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PipeWire
impl Send for PipeWire
impl Sync for PipeWire
impl Unpin for PipeWire
impl UnwindSafe for PipeWire
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