mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Working mic/playback gain settings
This commit is contained in:
parent
6958398bd7
commit
6778d0992a
3 changed files with 6 additions and 6 deletions
|
|
@ -131,7 +131,7 @@ extern void linphone_iphone_log_handler(int lev, const char *fmt, va_list args);
|
|||
}
|
||||
{
|
||||
[self setFloat:linphone_core_get_playback_gain_db(lc) forKey:@"playback_gain_preference"];
|
||||
//[self setFloat: linphone_core_get_microphone_gain_db(lc) forKey:@"microphone_gain_preference"];
|
||||
[self setFloat:linphone_core_get_mic_gain_db(lc) forKey:@"microphone_gain_preference"];
|
||||
}
|
||||
{
|
||||
LCSipTransports tp;
|
||||
|
|
@ -499,8 +499,8 @@ extern void linphone_iphone_log_handler(int lev, const char *fmt, va_list args);
|
|||
float playback_gain = [self floatForKey:@"playback_gain_preference"];
|
||||
linphone_core_set_playback_gain_db(lc, playback_gain);
|
||||
|
||||
//float microphone_gain = [self floatForKey:@"microphone_gain_preference"];
|
||||
//linphone_core_set_microphone_gain_db(lc, microphone_gain);
|
||||
float mic_gain = [self floatForKey:@"microphone_gain_preference"];
|
||||
linphone_core_set_mic_gain_db(lc, mic_gain);
|
||||
|
||||
UIDevice* device = [UIDevice currentDevice];
|
||||
bool backgroundSupported = false;
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@
|
|||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
<key>KeyboardType</key>
|
||||
<string>DecimalPad</string>
|
||||
<string>NumbersAndPunctuation</string>
|
||||
<key>DefaultValue</key>
|
||||
<integer>0</integer>
|
||||
<key>IASKTextAlignment</key>
|
||||
|
|
@ -150,7 +150,7 @@
|
|||
<key>Type</key>
|
||||
<string>PSTextFieldSpecifier</string>
|
||||
<key>KeyboardType</key>
|
||||
<string>DecimalPad</string>
|
||||
<string>NumbersAndPunctuation</string>
|
||||
<key>DefaultValue</key>
|
||||
<integer>0</integer>
|
||||
<key>IASKTextAlignment</key>
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit b8dd0174013ef5327bbac5d9f230d23a7d0c23d3
|
||||
Subproject commit 42b4cb544661f129d2959ca9faf492b9b90cf197
|
||||
Loading…
Add table
Reference in a new issue