Created
June 13, 2023 18:50
-
-
Save saivert/3dab3d98687b9cc0904720424cdea43b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub fn set_param(&self, id: spa::param::ParamType, flags: u32, param: &[u8]) { | |
unsafe { | |
spa_interface_call_method!( | |
self.proxy.as_ptr(), | |
pw_sys::pw_node_methods, | |
set_param, | |
id.as_raw(), | |
flags, | |
param.as_ptr() as *const spa::sys::spa_pod | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment