pub struct AudioNode { /* private fields */ }Implementations§
Source§impl AudioNode
impl AudioNode
Sourcepub unsafe fn from_ptr(ptr: *mut VSNode, api: Api) -> Self
pub unsafe fn from_ptr(ptr: *mut VSNode, api: Api) -> Self
§Safety
The caller must ensure that ptr is a valid pointer to a ffi::VSNode that represents an audio node.
pub fn info(&self) -> &AudioInfo
Sourcepub fn new<F: Filter>(
name: &str,
info: &AudioInfo,
filter: F,
dependencies: &[VSFilterDependency],
core: &CoreHandle,
) -> Option<Self>
pub fn new<F: Filter>( name: &str, info: &AudioInfo, filter: F, dependencies: &[VSFilterDependency], core: &CoreHandle, ) -> Option<Self>
Trait Implementations§
impl Eq for AudioNode
Source§impl Node for AudioNode
impl Node for AudioNode
type FrameType = MediaFrame<Audio>
fn api(&self) -> Api
fn as_ptr(&self) -> *mut VSNode
fn get_frame_filter(&self, n: i32, ctx: &mut FrameContext) -> Self::FrameType
Source§fn residency(&self) -> VSNodeResidency
fn residency(&self) -> VSNodeResidency
Returns whether the data resides in host or GPU memory.
fn set_linear_filter(&mut self) -> i32
fn set_cache_mode(&mut self, mode: CacheMode)
fn set_cache_options( &mut self, fixed_size: i32, max_size: i32, max_history_size: i32, )
Source§unsafe fn get_frame_async(
&self,
n: i32,
data: *mut c_void,
callback: VSFrameDoneCallback,
)
unsafe fn get_frame_async( &self, n: i32, data: *mut c_void, callback: VSFrameDoneCallback, )
Safety Read more
impl Send for AudioNode
impl StructuralPartialEq for AudioNode
impl Sync for AudioNode
Auto Trait Implementations§
impl Forget for AudioNode
impl Freeze for AudioNode
impl Move for AudioNode
impl RefUnwindSafe for AudioNode
impl Unpin for AudioNode
impl UnsafeUnpin for AudioNode
impl UnwindSafe for AudioNode
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