This is a read-only archive of the Mumble forums.

This website archives and makes accessible historical state. It receives no updates or corrections. It is provided only to keep the information accessible as-is, under their old address.

For up-to-date information please refer to the Mumble website and its linked documentation and other resources. For support please refer to one of our other community/support channels.

Jump to content

Speaker & Mic Volume cannot be changed


shizus
 Share

Recommended Posts

Hello! We're working with Mumble for iOS and we are trying to develop our own client based on this mumble project we found on github.


The problem we have is that we cannot modify neither the speaker nor the mic volume with the user interface we created.


We use the exact same method called setupAudio on MUApplicationDelegate to initiate our program, but we have two sliders from 0 to 100 that call these two methods we paste here


 

- (void) setLocalSpeakerVolume: (int) volume {
  float actualVolume = (float) volume / 100.0f;
  NSLog(@"SPEAKER %f", actualVolume);
  _audioSettings.volume = actualVolume;
  MKAudio *audio = [MKAudio sharedAudio];
  [audio updateAudioSettings:&_audioSettings];
  [audio restart];
}

- (void) setLocalMicVolume: (int) volume {
  float actualVolume = (float) volume / 100.0f;
  NSLog(@"MIC %f", actualVolume);
  _audioSettings.micBoost = actualVolume;
  MKAudio *audio = [MKAudio sharedAudio];
  [audio updateAudioSettings:&_audioSettings];
  [audio restart];
}

 


The thing is we do not see any changes in any volume. We also modified setupAudio to set up another volume from the beginning but we don't even see anything changes, we still hear the same volume.

Could you help us?


Thank you very much in advance.

Link to comment
Share on other sites

 Share

×
×
  • Create New...