MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Instance Methods | List of all members
<MCAudioControl> Protocol Reference

Manages audio settings. More...

#import <source.h>

Inheritance diagram for <MCAudioControl>:
Inheritance graph
[legend]
Collaboration diagram for <MCAudioControl>:
Collaboration graph
[legend]

Instance Methods

(void) - setVolume:
 
(void) - setNumChannel:
 
(void) - mute:
 
(uint32_t) - getVolume
 
(bool) - isMuted
 

Detailed Description

Manages audio settings.

Method Documentation

◆ getVolume

- (uint32_t) getVolume

Gets the current volume.

  • Returns: The current volume level.

◆ isMuted

- (bool) isMuted

Checks whether the microphone or speaker is muted or not.

  • Returns: A boolean indicating whether the audio source is muted (true) or not (false).

◆ mute:

- (void) mute: (bool)  m

Mutes the microphone or the speakers.

  • Parameters:
    • m: A boolean indicating whether the audio source should be muted (true) or not (false).

◆ setNumChannel:

- (void) setNumChannel: (uint8_t)  channel

Sets the number of channels to use.

  • Parameters:
    • channel: The number of channels to use.

◆ setVolume:

- (void) setVolume: (uint32_t)  v

Adjusts the microphone or speaker volume.

  • Parameters:
    • v: The volume level between 0 (mute) and 1 (full volume).

The documentation for this protocol was generated from the following file: