Skip to content

Commit

Permalink
add process_double_replacing and Rect struct
Browse files Browse the repository at this point in the history
  • Loading branch information
glowcoil committed Apr 14, 2021
1 parent b6462bc commit d4f2d4c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ pub struct AEffect {
pub unique_id: i32,
pub version: i32,
pub process_replacing: extern "C" fn(*mut AEffect, *const *const f32, *mut *mut f32, i32),
pub process_double_replacing: extern "C" fn(*mut AEffect, *const *const f64, *mut *mut f64, i32),
}

#[repr(C)]
Expand All @@ -275,4 +276,13 @@ pub struct TimeInfo {
pub flags: i32,
}

#[repr(C)]
#[derive(Copy, Clone)]
pub struct Rect {
pub top: i16,
pub left: i16,
pub bottom: i16,
pub right: i16,
}

pub type HostCallbackProc = extern "C" fn(*mut AEffect, i32, i32, isize, *mut c_void, f32) -> isize;

0 comments on commit d4f2d4c

Please sign in to comment.