#[repr(C)]pub struct FILTER_PROC_AUDIO {
pub scene: *const SCENE_INFO,
pub object: *const OBJECT_INFO,
pub get_sample_data: unsafe extern "C" fn(buffer: *mut f32, channel: i32),
pub set_sample_data: unsafe extern "C" fn(buffer: *const f32, channel: i32),
}Expand description
音声フィルタ処理用構造体
Fields§
§scene: *const SCENE_INFOシーン情報
object: *const OBJECT_INFOオブジェクト情報
get_sample_data: unsafe extern "C" fn(buffer: *mut f32, channel: i32)現在の音声のデータを取得する buffer: 音声データの格納先へのポインタ ※音声データはPCM(float)32bit channel: 音声データのチャンネル ( 0 = 左チャンネル / 1 = 右チャンネル )
set_sample_data: unsafe extern "C" fn(buffer: *const f32, channel: i32)現在の音声のデータを設定する buffer: 音声データへのポインタ ※音声データはPCM(float)32bit channel: 音声データのチャンネル ( 0 = 左チャンネル / 1 = 右チャンネル )
Auto Trait Implementations§
impl Freeze for FILTER_PROC_AUDIO
impl RefUnwindSafe for FILTER_PROC_AUDIO
impl !Send for FILTER_PROC_AUDIO
impl !Sync for FILTER_PROC_AUDIO
impl Unpin for FILTER_PROC_AUDIO
impl UnwindSafe for FILTER_PROC_AUDIO
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