mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-03 22:56:49 +00:00
Fixes audio for Mac
- Microphone issue when launching app from .app that comes from permission - Unresponsive gain sliders due to not refreshing links when devices selection change - Implement control volume audio
This commit is contained in:
parent
db332fb166
commit
ef6c1675db
5 changed files with 8 additions and 2 deletions
|
|
@ -52,5 +52,7 @@
|
|||
<string>True</string>
|
||||
<key>NSCameraUsageDescription</key>
|
||||
<string>Streaming Video between devices</string>
|
||||
<key>NSMicrophoneUsageDescription</key>
|
||||
<string>Streaming Audio between devices</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
|
|||
|
|
@ -287,6 +287,9 @@ void SettingsModel::setPlaybackDevice (const QString &device) {
|
|||
Utils::appStringToCoreString(device)
|
||||
);
|
||||
emit playbackDeviceChanged(device);
|
||||
if (mSimpleCaptureGraph && mSimpleCaptureGraph->isRunning()) {
|
||||
createCaptureGraph();
|
||||
}
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@ SoundPlayer::SoundPlayer (QObject *parent) : QObject(parent) {
|
|||
mForceCloseTimer->setInterval(ForceCloseTimerInterval);
|
||||
QObject::connect(mForceCloseTimer, &QTimer::timeout, this, &SoundPlayer::handleEof);
|
||||
mHandlers = make_shared<SoundPlayer::Handlers>(this);
|
||||
// Connection to rebuilding player when changing ringer selection. This player is only for Ringer.
|
||||
QObject::connect(settingsModel, &SettingsModel::ringerDeviceChanged, this, [this] {
|
||||
rebuildInternalPlayer();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ TabContainer {
|
|||
label: qsTr('ringerDeviceLabel')
|
||||
|
||||
ComboBox {
|
||||
enabled: !SettingsModel.isInCall
|
||||
enabled: !SettingsModel.isInCall
|
||||
currentIndex: Utils.findIndex(model, function (device) {
|
||||
return device === SettingsModel.ringerDevice
|
||||
})
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 8fe3503392d455b14fd8b2fbc28fb3817a061f95
|
||||
Subproject commit 1e4a8237474ed1bb20da91ce47b5ab34059ad471
|
||||
Loading…
Add table
Reference in a new issue