|
1 | 1 | // @generated |
| 2 | +// This file is @generated by prost-build. |
2 | 3 | #[allow(clippy::derive_partial_eq_without_eq)] |
3 | 4 | #[derive(Clone, PartialEq, ::prost::Message)] |
4 | 5 | pub struct FrameCryptor { |
@@ -3554,6 +3555,70 @@ pub struct RemixAndResampleResponse { |
3554 | 3555 | #[prost(message, required, tag="1")] |
3555 | 3556 | pub buffer: OwnedAudioFrameBuffer, |
3556 | 3557 | } |
| 3558 | +// AEC |
| 3559 | + |
| 3560 | +#[allow(clippy::derive_partial_eq_without_eq)] |
| 3561 | +#[derive(Clone, PartialEq, ::prost::Message)] |
| 3562 | +pub struct NewApmRequest { |
| 3563 | + #[prost(bool, required, tag="1")] |
| 3564 | + pub echo_canceller_enabled: bool, |
| 3565 | + #[prost(bool, required, tag="2")] |
| 3566 | + pub gain_controller_enabled: bool, |
| 3567 | + #[prost(bool, required, tag="3")] |
| 3568 | + pub high_pass_filter_enabled: bool, |
| 3569 | + #[prost(bool, required, tag="4")] |
| 3570 | + pub noise_suppression_enabled: bool, |
| 3571 | +} |
| 3572 | +#[allow(clippy::derive_partial_eq_without_eq)] |
| 3573 | +#[derive(Clone, PartialEq, ::prost::Message)] |
| 3574 | +pub struct NewApmResponse { |
| 3575 | + #[prost(message, required, tag="1")] |
| 3576 | + pub apm: OwnedApm, |
| 3577 | +} |
| 3578 | +#[allow(clippy::derive_partial_eq_without_eq)] |
| 3579 | +#[derive(Clone, PartialEq, ::prost::Message)] |
| 3580 | +pub struct ApmProcessStreamRequest { |
| 3581 | + #[prost(uint64, required, tag="1")] |
| 3582 | + pub apm_handle: u64, |
| 3583 | + /// *mut i16 |
| 3584 | + #[prost(uint64, required, tag="2")] |
| 3585 | + pub data_ptr: u64, |
| 3586 | + /// in bytes |
| 3587 | + #[prost(uint32, required, tag="3")] |
| 3588 | + pub size: u32, |
| 3589 | + #[prost(uint32, required, tag="4")] |
| 3590 | + pub sample_rate: u32, |
| 3591 | + #[prost(uint32, required, tag="5")] |
| 3592 | + pub num_channels: u32, |
| 3593 | +} |
| 3594 | +#[allow(clippy::derive_partial_eq_without_eq)] |
| 3595 | +#[derive(Clone, PartialEq, ::prost::Message)] |
| 3596 | +pub struct ApmProcessStreamResponse { |
| 3597 | + #[prost(string, optional, tag="1")] |
| 3598 | + pub error: ::core::option::Option<::prost::alloc::string::String>, |
| 3599 | +} |
| 3600 | +#[allow(clippy::derive_partial_eq_without_eq)] |
| 3601 | +#[derive(Clone, PartialEq, ::prost::Message)] |
| 3602 | +pub struct ApmProcessReverseStreamRequest { |
| 3603 | + #[prost(uint64, required, tag="1")] |
| 3604 | + pub apm_handle: u64, |
| 3605 | + /// *mut i16 |
| 3606 | + #[prost(uint64, required, tag="2")] |
| 3607 | + pub data_ptr: u64, |
| 3608 | + /// in bytes |
| 3609 | + #[prost(uint32, required, tag="3")] |
| 3610 | + pub size: u32, |
| 3611 | + #[prost(uint32, required, tag="4")] |
| 3612 | + pub sample_rate: u32, |
| 3613 | + #[prost(uint32, required, tag="5")] |
| 3614 | + pub num_channels: u32, |
| 3615 | +} |
| 3616 | +#[allow(clippy::derive_partial_eq_without_eq)] |
| 3617 | +#[derive(Clone, PartialEq, ::prost::Message)] |
| 3618 | +pub struct ApmProcessReverseStreamResponse { |
| 3619 | + #[prost(string, optional, tag="1")] |
| 3620 | + pub error: ::core::option::Option<::prost::alloc::string::String>, |
| 3621 | +} |
3557 | 3622 | // New resampler using SoX (much better quality) |
3558 | 3623 |
|
3559 | 3624 | #[allow(clippy::derive_partial_eq_without_eq)] |
@@ -3746,6 +3811,16 @@ pub struct OwnedAudioResampler { |
3746 | 3811 | pub info: AudioResamplerInfo, |
3747 | 3812 | } |
3748 | 3813 | // |
| 3814 | +// AEC |
| 3815 | +// |
| 3816 | + |
| 3817 | +#[allow(clippy::derive_partial_eq_without_eq)] |
| 3818 | +#[derive(Clone, PartialEq, ::prost::Message)] |
| 3819 | +pub struct OwnedApm { |
| 3820 | + #[prost(message, required, tag="1")] |
| 3821 | + pub handle: FfiOwnedHandle, |
| 3822 | +} |
| 3823 | +// |
3749 | 3824 | // Sox AudioResampler |
3750 | 3825 | // |
3751 | 3826 |
|
@@ -4075,7 +4150,7 @@ pub struct RpcMethodInvocationEvent { |
4075 | 4150 | #[allow(clippy::derive_partial_eq_without_eq)] |
4076 | 4151 | #[derive(Clone, PartialEq, ::prost::Message)] |
4077 | 4152 | pub struct FfiRequest { |
4078 | | - #[prost(oneof="ffi_request::Message", tags="2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 48, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 49")] |
| 4153 | + #[prost(oneof="ffi_request::Message", tags="2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 48, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 49, 50, 51, 52")] |
4079 | 4154 | pub message: ::core::option::Option<ffi_request::Message>, |
4080 | 4155 | } |
4081 | 4156 | /// Nested message and enum types in `FfiRequest`. |
@@ -4188,13 +4263,19 @@ pub mod ffi_request { |
4188 | 4263 | /// Audio Filter Plugin |
4189 | 4264 | #[prost(message, tag="49")] |
4190 | 4265 | LoadAudioFilterPlugin(super::LoadAudioFilterPluginRequest), |
| 4266 | + #[prost(message, tag="50")] |
| 4267 | + NewApm(super::NewApmRequest), |
| 4268 | + #[prost(message, tag="51")] |
| 4269 | + ApmProcessStream(super::ApmProcessStreamRequest), |
| 4270 | + #[prost(message, tag="52")] |
| 4271 | + ApmProcessReverseStream(super::ApmProcessReverseStreamRequest), |
4191 | 4272 | } |
4192 | 4273 | } |
4193 | 4274 | /// This is the output of livekit_ffi_request function. |
4194 | 4275 | #[allow(clippy::derive_partial_eq_without_eq)] |
4195 | 4276 | #[derive(Clone, PartialEq, ::prost::Message)] |
4196 | 4277 | pub struct FfiResponse { |
4197 | | - #[prost(oneof="ffi_response::Message", tags="2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 47, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 48")] |
| 4278 | + #[prost(oneof="ffi_response::Message", tags="2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 47, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 51")] |
4198 | 4279 | pub message: ::core::option::Option<ffi_response::Message>, |
4199 | 4280 | } |
4200 | 4281 | /// Nested message and enum types in `FfiResponse`. |
@@ -4305,6 +4386,12 @@ pub mod ffi_response { |
4305 | 4386 | /// Audio Filter Plugin |
4306 | 4387 | #[prost(message, tag="48")] |
4307 | 4388 | LoadAudioFilterPlugin(super::LoadAudioFilterPluginResponse), |
| 4389 | + #[prost(message, tag="49")] |
| 4390 | + NewApm(super::NewApmResponse), |
| 4391 | + #[prost(message, tag="50")] |
| 4392 | + ApmProcessStream(super::ApmProcessStreamResponse), |
| 4393 | + #[prost(message, tag="51")] |
| 4394 | + ApmProcessReverseStream(super::ApmProcessReverseStreamResponse), |
4308 | 4395 | } |
4309 | 4396 | } |
4310 | 4397 | /// To minimize complexity, participant events are not included in the protocol. |
|
0 commit comments