adjustLoopbackSignalVolume abstract method

Future<void> adjustLoopbackSignalVolume(
  1. int volume
)

Adjusts the volume of the signal captured by the sound card.

After calling enableLoopbackRecording to enable sound card capture, you can call this method to adjust the volume of the signal captured by the sound card.

  • volume The volume of the music file. The range is 0~100. 100 (default) represents the original volume of the file.

Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly. See Error Codes for details and resolution suggestions. < 0: The method call fails. See Error Codes for details and resolution suggestions.

Implementation

Future<void> adjustLoopbackSignalVolume(int volume);