Speaker & Mic Volume cannot be changed

Everything related to the official iOS Mumble client

Speaker & Mic Volume cannot be changed

Postby shizus » Thu Jan 09, 2014 2:28 pm

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.
shizus
 
Posts: 1
Joined: Thu Jan 09, 2014 2:00 pm

Return to iOS

Who is online

Users browsing this forum: No registered users and 1 guest

cron