File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -271,6 +271,7 @@ if (is_android) {
271
271
" api/org/webrtc/FrameEncryptor.java" ,
272
272
" api/org/webrtc/IceCandidate.java" ,
273
273
" api/org/webrtc/IceCandidateErrorEvent.java" ,
274
+ " api/org/webrtc/ManagedAudioProcessingFactory.java" ,
274
275
" api/org/webrtc/MediaConstraints.java" ,
275
276
" api/org/webrtc/MediaSource.java" ,
276
277
" api/org/webrtc/MediaStream.java" ,
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2024 The WebRTC project authors. All Rights Reserved.
3
+ *
4
+ * Use of this source code is governed by a BSD-style license
5
+ * that can be found in the LICENSE file in the root of the source
6
+ * tree. An additional intellectual property rights grant can be found
7
+ * in the file PATENTS. All contributing project authors may
8
+ * be found in the AUTHORS file in the root of the source tree.
9
+ */
10
+
11
+ package org .webrtc ;
12
+
13
+ /** AudioProcessing factory with lifecycle management and runtime control capabilities. */
14
+ public interface ManagedAudioProcessingFactory extends AudioProcessingFactory {
15
+ /**
16
+ * Destroys the native AudioProcessing instance.
17
+ */
18
+ public void destroyNative ();
19
+
20
+ /**
21
+ * Checks if the AudioProcessing is enabled.
22
+ * @return true if enabled, false otherwise.
23
+ */
24
+ public boolean isEnabled ();
25
+
26
+ /**
27
+ * Sets the enabled state of the AudioProcessing.
28
+ * @param enabled The desired enabled state.
29
+ */
30
+ public void setEnabled (boolean enabled );
31
+ }
You can’t perform that action at this time.
0 commit comments