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

Code: Select all

- (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.