Struct cubeb_core::DeviceRef
[−]
[src]
pub struct DeviceRef(_);
Methods
impl DeviceRef[src]
unsafe fn from_ptr<'a>(ptr: *mut cubeb_device) -> &'a Self[src]
unsafe fn from_ptr_mut<'a>(ptr: *mut cubeb_device) -> &'a mut Self[src]
fn as_ptr(&self) -> *mut cubeb_device[src]
impl DeviceRef[src]
fn output_name(&self) -> Option<&str>[src]
Gets the output device name.
May return None if there is no output device.
fn output_name_bytes(&self) -> Option<&[u8]>[src]
fn input_name(&self) -> Option<&str>[src]
Gets the input device name.
May return None if there is no input device.