phaneron_plugin/
audio.rs

1use abi_stable::StableAbi;
2
3/// Supported audio I/O formats.
4/// Audio will be converted to 32 bit floating-point on input.
5#[repr(C)]
6#[derive(StableAbi)]
7pub enum AudioFormat {
8    I16,
9    U16,
10    F32,
11    I32,
12}
13
14/// Supported audio channel layouts.
15#[repr(C)]
16#[derive(StableAbi)]
17#[allow(non_camel_case_types)]
18pub enum AudioChannelLayout {
19    Mono,
20    L,
21    R,
22    L_R,
23    R_L,
24}