[neon/backports-jammy/callaudiod]: Summary of bulk changes made

KDE Git Services - Bulk Change null at kde.org
Wed Jan 18 13:41:24 GMT 2023


Git repository change summary for neon/backports-jammy/callaudiod
Pushed by jriddell into branch 'Neon/unstable'.
Changed from 0000000000000000000000000000000000000000 to d04488357ba9694aa4c88a0328f9c24d3cead33b
Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository.

This change contains the following new commits:

Git commit 56ff28fb73483518938378e22b9184b8092dc79c by Arnaud Ferraris on 12/10/2020 at 23:42..
Initial release
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/56ff28fb73483518938378e22b9184b8092dc79c

Git commit 6c70d1cd983fbc99aafdcab311b9f064749668ce by Arnaud Ferraris on 12/10/2020 at 23:42..
src: move D-Bus interface file to new data folder

The D-Bus interface definition will be required by other components from 
this package, create a `data` folder and move it there.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/6c70d1cd983fbc99aafdcab311b9f064749668ce

Git commit 2b09c31d2a2d985d3aacfbb8fe11259ee764f715 by Arnaud Ferraris on 12/10/2020 at 23:42..
src: rename D-Bus types and functions following namespace change
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/2b09c31d2a2d985d3aacfbb8fe11259ee764f715

Git commit bcba7508b99c7f50a019fa0bce1455b957b06787 by Arnaud Ferraris on 12/10/2020 at 23:42..
src: move D-Bus definitions to dedicated header file

These will be used by the library sources too.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/bcba7508b99c7f50a019fa0bce1455b957b06787

Git commit a8e173a52281db8357e8d726b4a0adc5ebb195a5 by Arnaud Ferraris on 13/10/2020 at 00:20..
libcallaudio: add simple wrapper library
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/a8e173a52281db8357e8d726b4a0adc5ebb195a5

Git commit f17258ff8baf0ad93f1d3a95905d4d55420ddc49 by Arnaud Ferraris on 13/10/2020 at 00:20..
src: meson.build: move config.h definitions to top-level meson.build
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/f17258ff8baf0ad93f1d3a95905d4d55420ddc49

Git commit ea3d21d5e62514f6de252717493fec06c2c45da1 by Arnaud Ferraris on 13/10/2020 at 00:20..
tools: add helper command-line tool for easy testing
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/ea3d21d5e62514f6de252717493fec06c2c45da1

Git commit 14b9e136bf61efa2e59fa0526d57307b9311e3fb by Arnaud Ferraris on 13/10/2020 at 15:21..
cad-pulse: stop tracking the "default" port

Tracking the default port (which is actually the non-speaker active 
output port) can be tedious and prone to errors.

Instead of trying to track which port was in use when we switched to 
speaker, we can simply check, when it's time to switch back, which 
available port has higher priority and use this one.

This will also help solve corner cases: switch to call mode (earpiece), 
enable speaker, plug in headphones, then disable speaker: the current 
code will automatically switch back to headphones instead of the 
earpiece, which sounds like the good thing to do in that case.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/14b9e136bf61efa2e59fa0526d57307b9311e3fb

Git commit 78ae90e32421c7c142cd8b29b688bb86b5945441 by Arnaud Ferraris on 13/10/2020 at 15:21..
cad-pulse: refactor nothing-to-do handling in commands

Instead of manually setting result code, calling the user callback and 
so on, we can just call operation_complete_cb().
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/78ae90e32421c7c142cd8b29b688bb86b5945441

Git commit 27b52303540bbf176b2cf746692f36ee5305c4af by Arnaud Ferraris on 13/10/2020 at 15:21..
cad-pulse: track earpiece port and voice call profile

In order to offer a voice call mode for devices with a single UCM 
profile (which can be a legitimate use case), we want to track whether 
the card has a voice call profile, as well as the earpiece/handset 
output port if it has one.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/27b52303540bbf176b2cf746692f36ee5305c4af

Git commit d30bda24c7140768debf15593d100060a7d587c0 by Arnaud Ferraris on 13/10/2020 at 15:21..
cad-pulse: switch to earpiece port if card has no voice call profile

For cards with a single profile, we still want to offer a voice call 
mode. This can be achieved by simply switching the output port to the 
earpiece.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/d30bda24c7140768debf15593d100060a7d587c0

Git commit c5c21b4b382b3978755dc5ae4b108c6535eae010 by Arnaud Ferraris on 13/10/2020 at 15:22..
cad-pulse: better select the output port when selecting voice call mode

Forcing the earpiece port can be a wrong idea when e.g. the person is
wearing headphones: we want to keep outputting sound through the
headphones instead of suddenly switching to the earpiece.

This is done by retrieving the highest priority available port which
isn't the speaker. It requires priorities to be set right and having no
other output than speaker, earpiece or headphones, but for now it's a
resonable constraint.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/c5c21b4b382b3978755dc5ae4b108c6535eae010

Git commit 46e0b559c577fa552e0c7e9c7295c7e7a6518e3d by Arnaud Ferraris on 13/10/2020 at 15:22..
cad-pulse: stop tracking the earpiece port

As we now automatically check which port should be used as output, we no 
longer need to keep track of the earpiece port.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/46e0b559c577fa552e0c7e9c7295c7e7a6518e3d

Git commit 308188683af5cba283743458c7699eee1ef68afa by Arnaud Ferraris on 19/10/2020 at 09:03..
callaudiocli: fix indentation

Rest of the project uses 4 spaces, make it coherent.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/308188683af5cba283743458c7699eee1ef68afa

Git commit 46d720dcdcee74678aa962350f84d5a4de6e9419 by Arnaud Ferraris on 19/10/2020 at 09:04..
libcallaudio: use same indentation throughout the file
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/46d720dcdcee74678aa962350f84d5a4de6e9419

Git commit c78bff92023492584a2ed26d409d065e42472d55 by Arnaud Ferraris on 19/10/2020 at 09:04..
cad-manager: improve error handling and debugging
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/c78bff92023492584a2ed26d409d065e42472d55

Git commit 80e355e728a63b7727e0549d0d0cc76d5d7ff5e0 by Arnaud Ferraris on 19/10/2020 at 09:07..
cad-pulse: improve error handling and debug output
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/80e355e728a63b7727e0549d0d0cc76d5d7ff5e0

Git commit b57fa32676b319771bcb32c469460168d00b5d9c by Arnaud Ferraris on 19/10/2020 at 17:07..
src: use GLib functions for memory allocation
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/b57fa32676b319771bcb32c469460168d00b5d9c

Git commit 53cf7e0fdbcdbf7efac4a55205132f436cdd44ba by Arnaud Ferraris on 19/10/2020 at 17:37..
d-bus: return operation status using a boolean

Using a uint doesn't make sense here, while a boolean named `success` 
will be much more intuitive
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/53cf7e0fdbcdbf7efac4a55205132f436cdd44ba

Git commit 08378f29dbfa093e36bd9ed891dec9abb41461f4 by Arnaud Ferraris on 19/10/2020 at 20:40..
libcallaudio: add async API

Fixes #1
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/08378f29dbfa093e36bd9ed891dec9abb41461f4

Git commit cf329d0a050899f036f677d8d5e16a749c6a80ba by Arnaud Ferraris on 19/10/2020 at 20:40..
data: add D-Bus service file
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/cf329d0a050899f036f677d8d5e16a749c6a80ba

Git commit de3be2b075454d47d879d43ada0bb4731400edee by Arnaud Ferraris on 19/10/2020 at 20:40..
cad-pulse: unmute the mic when ending a call

Fixes #4
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/de3be2b075454d47d879d43ada0bb4731400edee

Git commit 161d63ff8640c1689043db5a46466887b3338c74 by Arnaud Ferraris on 19/10/2020 at 20:40..
cad-pulse: keep track of the current mode
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/161d63ff8640c1689043db5a46466887b3338c74

Git commit d2e8e0db022beca3ccd6690ed474085a8dceac9c by Arnaud Ferraris on 19/10/2020 at 20:41..
cad-pulse: fix output port switching

This commit simplifies the way the output port is selected so we make 
sure we always use the highest priority available port, except in a few 
cases.

Fixes #3
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/d2e8e0db022beca3ccd6690ed474085a8dceac9c

Git commit 70173f17318b5928f8c967f94c066ec9b3c61de9 by Arnaud Ferraris on 19/10/2020 at 20:41..
meson.build: bump version number
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/70173f17318b5928f8c967f94c066ec9b3c61de9

Git commit 8fcf9d6bd56d9e0be822ea591bb24e6a9f4bb520 by Evangelos Ribeiro Tzaras on 22/10/2020 at 13:12..
pulse: assert valid CadOperation type
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/8fcf9d6bd56d9e0be822ea591bb24e6a9f4bb520

Git commit dbd5d7c5636c53c42b1a29cb565bdbd63fc75bc5 by Arnaud Ferraris on 22/10/2020 at 14:32..
Merge branch 'assert_cad_pulse' into 'master'

pulse: assert valid CadOperation type

See merge request mobian1/callaudiod!1
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/dbd5d7c5636c53c42b1a29cb565bdbd63fc75bc5

Git commit 48de63ba57a2650924337e520e5a1ae5453b3ba5 by Arnaud Ferraris on 28/10/2020 at 17:42..
libcallaudio: make sure the lib is initialized before acting
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/48de63ba57a2650924337e520e5a1ae5453b3ba5

Git commit 59566c87217413c702dfa0ebfb72d7c64c956552 by Arnaud Ferraris on 28/10/2020 at 17:43..
libcallaudio: improve error handling and reporting
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/59566c87217413c702dfa0ebfb72d7c64c956552

Git commit cba8441f2954fd26456ae793d8e7a6669636656f by Arnaud Ferraris on 28/10/2020 at 17:44..
callaudiocli: adjust to latest API
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/cba8441f2954fd26456ae793d8e7a6669636656f

Git commit 2cd44d1925a153f58d3f0c6acad2bc77c4d37df3 by Arnaud Ferraris on 28/10/2020 at 18:54..
meson.build: release version 0.0.4
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/2cd44d1925a153f58d3f0c6acad2bc77c4d37df3

Git commit 75997937aa4b8ba96d9d7d8f4967b707221b8fcd by Arnaud Ferraris on 05/11/2020 at 20:39..
cad-pulse: error out if card has no usable profile nor sink

When the card doesn't have a "Voice Call" profile and no usable sink, 
switching mode would result in the operation never returning.

Making sure the operation can be executed solves this issue.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/75997937aa4b8ba96d9d7d8f4967b707221b8fcd

Git commit 764d783bcb3b047bdf70fa2126356eccf07bc59f by Arnaud Ferraris on 05/11/2020 at 21:29..
Initial Debian packaging

Closes: #973841
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/764d783bcb3b047bdf70fa2126356eccf07bc59f

Git commit a13435aa68311d1c7b5b5f1872606de53a2f8c20 by Arnaud Ferraris on 05/11/2020 at 21:29..
d/changelog: prepare initial release
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/a13435aa68311d1c7b5b5f1872606de53a2f8c20

Git commit a14c62dbba9d52b574c6fb131ec680b6310fab0e by Guido Günther on 06/11/2020 at 08:41..
Upload to unstable
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/a14c62dbba9d52b574c6fb131ec680b6310fab0e

Git commit 6d1af6a3d5e23704c71a236b841580d2a5aa8888 by Guido Günther on 06/11/2020 at 09:10..
d/gbp.conf: Set upstream branch

This helps gbp {pull,push}
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/6d1af6a3d5e23704c71a236b841580d2a5aa8888

Git commit af965913c1996a0e599d91bc4e13dd9742f0fda5 by Arnaud Ferraris on 11/11/2020 at 10:36..
Merge branch 'gbp.conf' into 'debian/master'

d/gbp.conf: Set upstream branch

See merge request DebianOnMobile-team/callaudiod!1
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/af965913c1996a0e599d91bc4e13dd9742f0fda5

Git commit 6c8ffc22cbaf68f29f9eefc27226978493f9bde2 by Arnaud Ferraris on 20/11/2020 at 16:23..
cad-pulse: improve error handling

Some operations wrongfully used g_error(), causing the daemon to exit in 
error cases where it could have continued working.

This patch fixes this by using g_critical() instead, and also ensures we 
don't call pa_operation_unref() on a null pointer.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/6c8ffc22cbaf68f29f9eefc27226978493f9bde2

Git commit 0a66fb3761655b82dc38b8e4689687132f793d11 by Evangelos Ribeiro Tzaras on 12/12/2020 at 08:50..
doc: Add gtk-docs for the public libcallaudio API
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/0a66fb3761655b82dc38b8e4689687132f793d11

Git commit 943e0fd81ebc8271874b44ffc97260ef036c7bed by Evangelos Ribeiro Tzaras on 12/12/2020 at 08:50..
doc: document core api
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/943e0fd81ebc8271874b44ffc97260ef036c7bed

Git commit 6aee59ff490db5a3a90cb8b6ba0f87484eb9ed9c by Evangelos Ribeiro Tzaras on 12/12/2020 at 09:08..
doc: Document dbus interface
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/6aee59ff490db5a3a90cb8b6ba0f87484eb9ed9c

Git commit 86397a061a1a60ef38d9a3197f7f8930f00ed4c4 by Evangelos Ribeiro Tzaras on 01/01/2021 at 16:26..
doc: fix misplace </part>
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/86397a061a1a60ef38d9a3197f7f8930f00ed4c4

Git commit edcc8b85e2aac737611875ae132041791c7be9be by Evangelos Ribeiro Tzaras on 01/01/2021 at 16:58..
doc: Document GError paramaters

This will make gtk-doc slightly more happy
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/edcc8b85e2aac737611875ae132041791c7be9be

Git commit 91b0e0ad9e746db48a97c336e0499c796259a34c by Evangelos Ribeiro Tzaras on 01/01/2021 at 17:01..
doc: Remove duplicate (how to declare dependency)
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/91b0e0ad9e746db48a97c336e0499c796259a34c

Git commit e073668cb8926ebf1c8ff1c208dc499563cd5e4f by Evangelos Ribeiro Tzaras on 04/01/2021 at 00:02..
meson: Fix libcallaudio out of tree builds

Removes hardcoded include flags in favour of using include_directories
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/e073668cb8926ebf1c8ff1c208dc499563cd5e4f

Git commit 585f3dadaa6a9ba2a4e8ab4bd0a562291564d40e by Arnaud Ferraris on 04/01/2021 at 10:36..
Merge branch 'fix_out_of_tree_build' into 'master'

meson: Fix libcallaudio out of tree builds

Closes #9

See merge request mobian1/callaudiod!4
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/585f3dadaa6a9ba2a4e8ab4bd0a562291564d40e

Git commit 15e5794031db783e6500a97d10df45265bfba314 by Arnaud Ferraris on 12/01/2021 at 16:46..
Merge branch 'documentation' into 'master'

Add documentation

Closes #2

See merge request mobian1/callaudiod!2
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/15e5794031db783e6500a97d10df45265bfba314

Git commit eb7dcd683ba67337475d38aeba22d60b0a0a869e by Arnaud Ferraris on 12/01/2021 at 16:50..
libcallaudio: allow user to pass arbitraty data to async functions

Fixes #7
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/eb7dcd683ba67337475d38aeba22d60b0a0a869e

Git commit 2a8be27b2568b48165f48f8b6003f43920119aa2 by Arnaud Ferraris on 12/01/2021 at 16:56..
meson.build: bump API version
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/2a8be27b2568b48165f48f8b6003f43920119aa2

Git commit debeb61c29d57405d4ebdf565d89e97f7fee2724 by Arnaud Ferraris on 12/01/2021 at 16:58..
meson.build: release version 0.0.5
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/debeb61c29d57405d4ebdf565d89e97f7fee2724

Git commit 5885e981b9acba474e277b37e3f912e61466a03e by Arnaud Ferraris on 12/01/2021 at 17:25..
Merge branch 'async-data' into 'master'

Allow passing arbitrary data to async callback

Closes #7

See merge request mobian1/callaudiod!5
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/5885e981b9acba474e277b37e3f912e61466a03e

Git commit 2e6aceb4e39948c8e77b2ee9a627504e6ee77eab by Arnaud Ferraris on 12/01/2021 at 17:26..
New upstream version 0.0.5
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/2e6aceb4e39948c8e77b2ee9a627504e6ee77eab

Git commit 06cdf225d2cdfd6469971e1ea508a0e9b4c06469 by Arnaud Ferraris on 12/01/2021 at 17:59..
debian: propagate API version bump

Upstream introduced a breaking API change in the latest version. Make
sure we propapage this change by:
* renaming the library package
* making the corresponding changes to the symbols file (library file and
  package name)
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/06cdf225d2cdfd6469971e1ea508a0e9b4c06469

Git commit 8c0c35f27dd0e568c6997f249290e12e7ced615b by Arnaud Ferraris on 12/01/2021 at 17:59..
debian: create and build documentation package
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/8c0c35f27dd0e568c6997f249290e12e7ced615b

Git commit 27bc2c3e82ff7d8dc210e4e5a8a7cbc2835c125e by Arnaud Ferraris on 12/01/2021 at 18:00..
d/changelog: release version 0.0.5-1
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/27bc2c3e82ff7d8dc210e4e5a8a7cbc2835c125e

Git commit 0313022d7d6f764d94481c5bd6e3775842efad7d by Guido Günther on 14/01/2021 at 08:03..
Merge branch 'update-0-0-5' into 'debian/master'

Release version 0.0.5-1

See merge request DebianOnMobile-team/callaudiod!2
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/0313022d7d6f764d94481c5bd6e3775842efad7d

Git commit 465e538826c1fa2d2cc3ec6aa3d4b56607a3adfd by Evangelos Ribeiro Tzaras on 24/01/2021 at 17:26..
d/control: Make doc package Architecture All
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/465e538826c1fa2d2cc3ec6aa3d4b56607a3adfd

Git commit 1042fdd40b6bdf78bb1a9e07c9e86174661e64eb by Evangelos Ribeiro Tzaras on 24/01/2021 at 17:26..
d/control: put -doc package in doc section
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/1042fdd40b6bdf78bb1a9e07c9e86174661e64eb

Git commit 8a4aae74a75ef1bd23e4ab380a8b326a536f192c by Evangelos Ribeiro Tzaras on 24/01/2021 at 17:26..
d/control: Fix doc package dependencies
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/8a4aae74a75ef1bd23e4ab380a8b326a536f192c

Git commit c0deb6882ad0a2beec80868427ae6005f64f8dce by Evangelos Ribeiro Tzaras on 24/01/2021 at 17:26..
d/control: Suggest devhelp in doc package
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/c0deb6882ad0a2beec80868427ae6005f64f8dce

Git commit 28a7f6fedb7017b02c85676f84aade209a23498f by Evangelos Ribeiro Tzaras on 24/01/2021 at 17:26..
d/control: Fix doc package description
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/28a7f6fedb7017b02c85676f84aade209a23498f

Git commit 51152609c1fdb44812f8ded44e94f0a4cc74e008 by Arnaud Ferraris on 27/01/2021 at 22:08..
add .editorconfig
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/51152609c1fdb44812f8ded44e94f0a4cc74e008

Git commit 8244d3d1ab00aa20747d54a3715c4c928d8b9ead by Arnaud Ferraris on 27/01/2021 at 22:08..
cad-pulse: save ports availability

When implementing automatic port switching, we need to compare the ports
availability against its previous state. This commit prepares automatic
port switching by saving the availability for each port which could
become (un)available over time.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/8244d3d1ab00aa20747d54a3715c4c928d8b9ead

Git commit bf77a1848f12220ec9bec73d05f271181e86ae92 by Arnaud Ferraris on 27/01/2021 at 22:10..
cad-pulse: select best available port for each new sink/source
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/bf77a1848f12220ec9bec73d05f271181e86ae92

Git commit c3cc5d535c4baf5cde47185d2b83c92711107368 by Arnaud Ferraris on 27/01/2021 at 22:39..
cad-pulse: monitor port availability and select best port accordingly

Fixes #5
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/c3cc5d535c4baf5cde47185d2b83c92711107368

Git commit 9165980868226d5a7ee603c1a296fa35e71d76eb by Arnaud Ferraris on 27/01/2021 at 22:39..
cad-pulse: minor refactoring
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/9165980868226d5a7ee603c1a296fa35e71d76eb

Git commit 480aaaef5393ff28eab7b8ab53aab48c599080a7 by Arnaud Ferraris on 27/01/2021 at 22:39..
cad-pulse: reconnect to PulseAudio in case of failure

Fixes #6
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/480aaaef5393ff28eab7b8ab53aab48c599080a7

Git commit 1013e6cbd8f70bef33e0b63947976c7beb8ee77b by Arnaud Ferraris on 27/01/2021 at 22:48..
Merge branch 'auto-switching' into 'master'

Automatic port switching and PulseAudio reconnection

Closes #5 and #6

See merge request mobian1/callaudiod!6
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/1013e6cbd8f70bef33e0b63947976c7beb8ee77b

Git commit cb6b77ef0e8d2288d49def5f9fd08a4a9327be00 by Arnaud Ferraris on 27/01/2021 at 23:00..
Merge branch 'doc_package_arch_all' into 'debian/master'

Lintian fixes

See merge request DebianOnMobile-team/callaudiod!3
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/cb6b77ef0e8d2288d49def5f9fd08a4a9327be00

Git commit d8a5a0ae171cb1071dec4c6d2e820ebd8e117724 by Arnaud Ferraris on 27/01/2021 at 23:53..
cad-pulse: unload module-switch-on-port-available

This module conflicts with automatic port switching, to prevent issues 
with distributions not wanting to ship a custom pulseaudio config, 
unload it upon connecting to the pulseaudio server.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/d8a5a0ae171cb1071dec4c6d2e820ebd8e117724

Git commit 34073d875398f409f20f52021a34c0742377caa2 by Arnaud Ferraris on 27/01/2021 at 23:53..
cad-pulse: remove unused subscribe callback
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/34073d875398f409f20f52021a34c0742377caa2

Git commit 007b3412089467cc25a674a31c44426e5a2229af by Arnaud Ferraris on 28/01/2021 at 07:53..
meson.build: release version 0.1.0
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/007b3412089467cc25a674a31c44426e5a2229af

Git commit 69741042ea792f15bd5b09e8c4b22cd27e998d57 by Arnaud Ferraris on 28/01/2021 at 07:54..
New upstream version 0.1.0
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/69741042ea792f15bd5b09e8c4b22cd27e998d57

Git commit e38c8929404344c5fb9bd931d3660953fa025649 by Arnaud Ferraris on 28/01/2021 at 07:56..
d/changelog: release version 0.1.0-1
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/e38c8929404344c5fb9bd931d3660953fa025649

Git commit 811e01a80d369168fc2355d01d23f0edce114b52 by Guido Günther on 01/04/2021 at 14:26..
libcallaudio: Don't leak error in error path
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/811e01a80d369168fc2355d01d23f0edce114b52

Git commit 97988902ad4019fab62f7d3493f7acb197dcdc67 by Evangelos Ribeiro Tzaras on 05/04/2021 at 13:42..
Merge branch 'dont-leak-error' into 'master'

libcallaudio: Don't leak error in error path

See merge request mobian1/callaudiod!7
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/97988902ad4019fab62f7d3493f7acb197dcdc67

Git commit 592209f0e329fed7e0f63b226908f435688f7b4f by Minecrell on 08/04/2021 at 12:24..
cad-pulse: don't assume card bus path is exactly "platform-sound"

At the moment, callaudiod ignores all sound cards where the "bus path"
is not exactly "platform-sound". While this is a very common name when
the sound card is represented by a simple "sound" node on device tree
platforms, it is not guaranteed to be exactly named like this.

For example, on devices using the Qualcomm Snapdragon 410 (MSM8916)
the sound node has a memory address assigned in the device tree.
PulseAudio therefore generates a different bus path for the sound card,
namely "platform-7702000.sound".

This commit changes the check to match only the "platform-" prefix.
This should be good enough to ignore external sound cards etc, but
avoids assuming a specific name of the sound card.

This allows callaudiod to work on the MSM8916 smartphones supported
in postmarketOS.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/592209f0e329fed7e0f63b226908f435688f7b4f

Git commit 84ed2eb164711e73d30a88d540f59ddd8bc88b45 by Arnaud Ferraris on 08/04/2021 at 20:22..
Merge branch 'msm8916' into 'master'

cad-pulse: don't assume card bus path is exactly "platform-sound"

See merge request mobian1/callaudiod!8
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/84ed2eb164711e73d30a88d540f59ddd8bc88b45

Git commit 0e8017c22ed8477bd7b883090c2ab06ac4795213 by Guido Günther on 01/09/2021 at 08:09..
Revert "libcallaudio: Don't leak error in error path"

The calls code indicates this should be "transfer: full" rather than
"transfer: none".

Thanks Philipp Müller for tracking this down.

This reverts commit 811e01a80d369168fc2355d01d23f0edce114b52.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/0e8017c22ed8477bd7b883090c2ab06ac4795213

Git commit 004f72e01c6b7e1ac9cf826171c7e6729564a3c8 by Arnaud Ferraris on 06/09/2021 at 23:33..
Merge branch 'error-free' into 'master'

Revert "libcallaudio: Don't leak error in error path"

See merge request mobian1/callaudiod!11
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/004f72e01c6b7e1ac9cf826171c7e6729564a3c8

Git commit c9550e17e6e26802dda23c6070d100aca0cc2810 by Arnaud Ferraris on 16/09/2021 at 09:59..
meson.build: release version 0.1.1
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/c9550e17e6e26802dda23c6070d100aca0cc2810

Git commit ec6b1317123de97f1f4ce593c50de8e6a9b75ac8 by Arnaud Ferraris on 16/09/2021 at 10:00..
New upstream version 0.1.1
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/ec6b1317123de97f1f4ce593c50de8e6a9b75ac8

Git commit 39da906cb5447cb71ac124cc19552a25fa64d717 by Arnaud Ferraris on 16/09/2021 at 10:01..
d/changelog: release version 0.1.1-1
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/39da906cb5447cb71ac124cc19552a25fa64d717

Git commit 47ba7d298233945f0c85b03e33b51213e654ed5f by Arnaud Ferraris on 22/11/2021 at 21:48..
cad-pulse: add additional check for discarding the modem

On the Librem 5, the modem audio interface device class isn't set
properly, so we must add another workaround in order to filter out this
card.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/47ba7d298233945f0c85b03e33b51213e654ed5f

Git commit 564b1a2df01b356b690e1e88b8f9bb3f987dada4 by Arnaud Ferraris on 04/01/2022 at 15:16..
cad-pulse: filter card based on available ports

The card name and main attributes aren't always enough to properly
identify the proper card to use. For example, the HDMI audio output on
PP is named `platform-hdmi-sound`, and is sometimes picked up as the
main card even though it's obviously wrong.

With this commit, only the cards having both a `Speaker` and a
`Earpiece` ports will be considered, which should solve most of the
remaining problems.

We also setup a retry timer in case no suitable card is found in an
attempt to fix #18.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/564b1a2df01b356b690e1e88b8f9bb3f987dada4

Git commit a1d6acb078c572460224a96d2bfb878460517356 by Arnaud Ferraris on 05/01/2022 at 10:22..
Merge branch 'wip/a-wai/filter-card-on-ports' into 'master'

cad-pulse: filter card based on available ports

Closes #18

See merge request mobian1/callaudiod!12
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/a1d6acb078c572460224a96d2bfb878460517356

Git commit 33526dc1b61526e29318c797fc0eccc0e00056ac by Arnaud Ferraris on 05/01/2022 at 10:24..
meson.build: release version 0.1.2
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/33526dc1b61526e29318c797fc0eccc0e00056ac

Git commit 69c112dd035b8a2810f7eb6b4e4be6e24ba922e3 by Arnaud Ferraris on 05/01/2022 at 10:35..
cad-pulse: add additional check for discarding the modem

On the Librem 5, the modem audio interface device class isn't set
properly, so we must add another workaround in order to filter out this
card.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/69c112dd035b8a2810f7eb6b4e4be6e24ba922e3

Git commit 0d4c14980d4db99d4e70c0ff30d9b07362047808 by Arnaud Ferraris on 05/01/2022 at 10:35..
cad-pulse: filter card based on available ports

The card name and main attributes aren't always enough to properly
identify the proper card to use. For example, the HDMI audio output on
PP is named `platform-hdmi-sound`, and is sometimes picked up as the
main card even though it's obviously wrong.

With this commit, only the cards having both a `Speaker` and a
`Earpiece` ports will be considered, which should solve most of the
remaining problems.

We also setup a retry timer in case no suitable card is found in an
attempt to fix #18.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/0d4c14980d4db99d4e70c0ff30d9b07362047808

Git commit 2a4d22fd1407893eba9cbc3fc18730d95e5102a0 by Arnaud Ferraris on 05/01/2022 at 10:35..
meson.build: release version 0.1.2
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/2a4d22fd1407893eba9cbc3fc18730d95e5102a0

Git commit 03fff6e3df01c5d81f7bb9d3943bfa4e605f3752 by Arnaud Ferraris on 05/01/2022 at 10:35..
d/control: bump Standards-Version, no changes required
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/03fff6e3df01c5d81f7bb9d3943bfa4e605f3752

Git commit b7ae524a7f45a1e806648b8c5ac0e3b949da7dce by Arnaud Ferraris on 05/01/2022 at 10:35..
d/changelog: release version 0.1.2-1
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/b7ae524a7f45a1e806648b8c5ac0e3b949da7dce

Git commit dc06dea31f976d6255daa88b4a88b44041d279a3 by Arnaud Ferraris on 06/01/2022 at 13:19..
cad-pulse: filter out monitor sources

These are not usable sources. With PulseAudio they have value `monitor`
for the `device.class` property, but not with PipeWire, so they're not
filtered out as expected in this case.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/dc06dea31f976d6255daa88b4a88b44041d279a3

Git commit 189fc696dc3a39ce9f937012796d137f62d4f182 by Arnaud Ferraris on 06/01/2022 at 13:26..
cad-pulse: make new sink/source the default one
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/189fc696dc3a39ce9f937012796d137f62d4f182

Git commit 3127bc5b97f978f60afb0e62f4a94ba93e8a2d81 by Arnaud Ferraris on 06/01/2022 at 18:59..
cad-pulse: fix card retry timer

A glib timer must return `G_SOURCE_REMOVE` to avoid being triggered
over and over. Fix some indentation issues while at it.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/3127bc5b97f978f60afb0e62f4a94ba93e8a2d81

Git commit 2b877dd4032b2e0b4fbcf9c4b29afc6f14cc5ebe by Arnaud Ferraris on 06/01/2022 at 19:03..
cad-pulse: consider "Handset" port as "Earpiece"

The L5 UCM config uses the "Handset" name for the earpiece port, causing
failure to recognize its sound card. Make sure we take that into
account.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/2b877dd4032b2e0b4fbcf9c4b29afc6f14cc5ebe

Git commit 717663ae212bf20203c04e5fbc979c80e8788078 by Arnaud Ferraris on 06/01/2022 at 19:14..
cad-pulse: don't switch ports on non-default sink/source
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/717663ae212bf20203c04e5fbc979c80e8788078

Git commit 4cb8bd9d228d13ea67e79f4c37c674f412b32d20 by Arnaud Ferraris on 06/01/2022 at 19:22..
meson.build: release version 0.1.3
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/4cb8bd9d228d13ea67e79f4c37c674f412b32d20

Git commit 844b8d61e433d8422a0d872081ce86f65f54a50e by Arnaud Ferraris on 06/01/2022 at 19:28..
New upstream version 0.1.3
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/844b8d61e433d8422a0d872081ce86f65f54a50e

Git commit 5fbdb540dc762ebf70d8821abbe6ddef39e74b3d by Arnaud Ferraris on 06/01/2022 at 19:28..
d/changelog: release version 0.1.3-1
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/5fbdb540dc762ebf70d8821abbe6ddef39e74b3d

Git commit 17464ac28683b5fa97bf5db110a31fc2b6ea33d9 by Arnaud Ferraris on 06/01/2022 at 20:06..
cad-pulse: improve monitor source identification
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/17464ac28683b5fa97bf5db110a31fc2b6ea33d9

Git commit 830ac858d42b27a95e2c03124d2159c36d7941ae by Evangelos Ribeiro Tzaras on 28/01/2022 at 08:32..
dbus: Add properties to track the current state

And document the values
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/830ac858d42b27a95e2c03124d2159c36d7941ae

Git commit 93bba33178a07e6ab30cd092d3220f2a37c4f9c6 by Evangelos Ribeiro Tzaras on 28/01/2022 at 08:32..
manager: Remove unused code
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/93bba33178a07e6ab30cd092d3220f2a37c4f9c6

Git commit 425ed734f67d5610041b6303f27607a0f35f32cc by Evangelos Ribeiro Tzaras on 08/02/2022 at 08:32..
manager: Track state of operations

This adds a couple of tri-state enums (off, on, unknown) to track the current
state of audio mode, speaker and microphone state after the selected operation
has been successfully completed.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/425ed734f67d5610041b6303f27607a0f35f32cc

Git commit 88b0ceb0b4c7007a1c3fb2c8d22be1a1950d8dcd by Evangelos Ribeiro Tzaras on 08/02/2022 at 08:33..
manager: Add DBus properties

The code generated from gdbus-codegen makes the properties read-write,
so we must have a setter to satisfy the GObject assertion
'class->set_property != NULL'.

However we only allow modifications of the properties by use of the public API,
so stub the set_property() function and warn when used.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/88b0ceb0b4c7007a1c3fb2c8d22be1a1950d8dcd

Git commit 282a7926eb5d1bf947d765a02bcaacafe71b221d by Evangelos Ribeiro Tzaras on 08/02/2022 at 08:33..
libcallaudio: Use G_DBUS_PROXY_FLAGS_NONE instead of "0"

Purely mechanical change.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/282a7926eb5d1bf947d765a02bcaacafe71b221d

Git commit d062c4bfd9a7ade2ef51bd51b86a2f18e80c6480 by Evangelos Ribeiro Tzaras on 08/02/2022 at 08:33..
libcallaudio: Add API to query current state

Closes #11
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/d062c4bfd9a7ade2ef51bd51b86a2f18e80c6480

Git commit d51e9358d2209224e9e81b5f73417972ab5febd4 by Evangelos Ribeiro Tzaras on 08/02/2022 at 08:33..
libcallaudio: Register enums as GType
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/d51e9358d2209224e9e81b5f73417972ab5febd4

Git commit 2eb2cf1d1f59fe537bfafa7896ec1ce3a4f9a6c9 by Evangelos Ribeiro Tzaras on 08/02/2022 at 08:33..
cli: Add --status flag to query current status

And use it as a default action if no other flag is supplied.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/2eb2cf1d1f59fe537bfafa7896ec1ce3a4f9a6c9

Git commit 80d0853a653aa93796b63a31501fbb3fd387551c by Arnaud Ferraris on 08/02/2022 at 12:44..
gitlab-ci: add `debian` folder for CI use

This is intended to allow using the `upstream-ci` pipeline definition
from https://gitlab.com/mobian1/packaging-tools
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/80d0853a653aa93796b63a31501fbb3fd387551c

Git commit 6dba99c44b79ffd244b11abb05fab99ac56741a2 by Arnaud Ferraris (on behalf of Guido Günther) on 17/02/2022 at 10:20..
libcallaudio: Don't leak async data

Currently the async data is allocated but never freed.

This was found by running phosh's screenshot test under ASAN:

  meson -Dbuildtype=debug  -Db_sanitize=address _build-asan
  meson test -C _build-asan -t 10  --print-errorlogs screenshots-de_DE.UTF-8
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/6dba99c44b79ffd244b11abb05fab99ac56741a2

Git commit 4a92e48fc1eee40088d802eead4c2445b0cebc02 by Arnaud Ferraris on 17/02/2022 at 10:28..
libcallaudio: improve documentation and fix more leaks

Previous commit fixes `async_data` leaks for the `mute_mic` and
`select_mode` async calls but lacks a similar fix for `enable_speaker`.

This commit also makes it clear that the memory used for any user data
passed to async functions should be entirely managed by the caller.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/4a92e48fc1eee40088d802eead4c2445b0cebc02

Git commit 049e5f4a6a10ebe7dce72c1e2ba16f0836892f02 by Arnaud Ferraris on 05/03/2022 at 16:40..
cad-pulse: fix possible NULL dereference
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/049e5f4a6a10ebe7dce72c1e2ba16f0836892f02

Git commit 8baac0d287dcdbd97d9e6681ff805bc63f096e1e by Arnaud Ferraris on 06/03/2022 at 23:41..
cad-pulse: make sure speaker state is reset between calls

When doing a call with speaker enabled, we probably don't want the
next one to start in the same configuration, so let's reset its state
when we switch back to "normal" mode.

While editing this part, this also improves the code path for unmuting
the mic.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/8baac0d287dcdbd97d9e6681ff805bc63f096e1e

Git commit 9279b506fa10365282cefca40c78e93358b63be2 by Arnaud Ferraris on 06/03/2022 at 23:43..
cad-pulse: track current state

As all actual operations are performed by the backend, it is the best
place to track current state. This commit ensures `CadPulse` can
properly determine it on startup and updates it whenever an operation
is executed.

This requires a small additional change to `cad-manager.c` so the
operation data aren't freed in the callback, but only after they have
been fully processed by the `CadPulse` object.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/9279b506fa10365282cefca40c78e93358b63be2

Git commit 2b50c86c01bb413ae0aa9e27dff4289b6e0eab53 by Arnaud Ferraris on 06/03/2022 at 23:43..
src: make backend responsible for tracking current state

Tracking current state in CadManager can lead to information getting out
of sync, especially in corner cases (callaudiod crash, for example).
This commit transfers this responsibility to the CadPulse backend.

With these changes, CadManager no longer stores any information and
instead always calls CadPulse for getting the current state.

Additionally, the D-Bus properties shouldn't belong to this object as
they're already defined by the skeleton class, so this commit also gets
rid of object properties.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/2b50c86c01bb413ae0aa9e27dff4289b6e0eab53

Git commit 064f171ba850f1c544a03a2ece711bcf9d26e45e by Arnaud Ferraris on 06/03/2022 at 23:43..
cad-pulse: set D-Bus object properties on state change
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/064f171ba850f1c544a03a2ece711bcf9d26e45e

Git commit 1b098a118dceee64b1370df6474d493330adc884 by Arnaud Ferraris on 07/03/2022 at 00:31..
cad-pulse: simplify mic mute operation

Now that CadPulse tracks the routing state, there's no need to retrieve
the source info prior to (un)muting the mic, we can simply call the
pulseaudio mute function directly. It has the added benefit of
preventing a race condition when switching to default profile while
muted.

Similar changes would be useful for other operations, but they require
refactoring the ports handling first, so let's stick with the easy one
for now.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/1b098a118dceee64b1370df6474d493330adc884

Git commit a7ca6ce9d4c947f19c3f99ff2cab986c64434e57 by Arnaud Ferraris on 25/03/2022 at 08:58..
meson.build: release version 0.1.4
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/a7ca6ce9d4c947f19c3f99ff2cab986c64434e57

Git commit 445e9180fb109c458c93bd27ee463b148bd70c4a by Arnaud Ferraris on 25/03/2022 at 09:18..
d/gbp.conf: use proper config for upstream tag

This will allow us to use `gbp import-orig --uscan`.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/445e9180fb109c458c93bd27ee463b148bd70c4a

Git commit 5e22c598885fdd08cd3a6aca48507ced2817487b by Arnaud Ferraris on 25/03/2022 at 09:19..
Update upstream source from tag 'upstream/0.1.4'

Update to upstream version '0.1.4'
with Debian dir c232bb9c7c4b22217c54d2c9e5a79cb1cfc98b7b
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/5e22c598885fdd08cd3a6aca48507ced2817487b

Git commit da83c897a1688b98bfd50a28518d3ec4d07dfea8 by Arnaud Ferraris on 25/03/2022 at 09:19..
New upstream version 0.1.4
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/da83c897a1688b98bfd50a28518d3ec4d07dfea8

Git commit b9156656244900317df225fdae1a9e5c1ec43c33 by Arnaud Ferraris on 25/03/2022 at 09:35..
debian: update symbols file
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/b9156656244900317df225fdae1a9e5c1ec43c33

Git commit 2238ff24962ed9883739e92d134239b274d1becd by Arnaud Ferraris on 25/03/2022 at 09:35..
d/changelog: release version 0.1.4-1
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/2238ff24962ed9883739e92d134239b274d1becd

Git commit 7bbbb3faf6ea36252f32305bae20f7750a66dd5b by Arnaud Ferraris on 25/03/2022 at 09:49..
Merge branch 'wip/a-wai/upgrade-0.1.4' into 'debian/master'

d/changelog: release version 0.1.4-1

See merge request DebianOnMobile-team/callaudiod!4
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/7bbbb3faf6ea36252f32305bae20f7750a66dd5b

Git commit d380d6011671e4e6815b24bd873cf9df9c69da53 by ArenM on 12/05/2022 at 22:15..
cli: return non zero exit status on failure

If there was an error changing the settings the user requested, return a
non zero status. This allows scripts using callaudiocli (sxmo) to detect
errors.

note: err is passed but not used, because call_audio_ functions print
the error message only if we provide a error object.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/d380d6011671e4e6815b24bd873cf9df9c69da53

Git commit ef4d0ea42915ae7004934c0519c9a8010fe5f158 by Guido Günther on 04/08/2022 at 11:37..
d/control: Allow for pipewire-pulse as well

This allows to use pipewire-pulse in favour of pulseaudio.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/ef4d0ea42915ae7004934c0519c9a8010fe5f158

Git commit 2a58580b14da4fb18cb8ae7266042985b5214a10 by Guido Günther on 04/08/2022 at 15:11..
cad-pulse: Don't crash on NULL cad_op callback

When CallAudioOperation fails it invokes the set callback which usually
points to `complete_command_cb()` to return the result to DBus. However
cad_pulse_select_mode() invokes cad_pulse_mute_mic() without a callback
set hence we crash in the error path like:

 #1  0x0000aaaad7949aac in cad_pulse_mute_mic (mute=0, cad_op=0xaaab15802f40) at ../src/cad-pulse.c:1097
 #2  0x0000aaaad7949c5c in cad_pulse_select_mode (mode=CALL_AUDIO_MODE_DEFAULT, cad_op=0xaaab15809730) at ../src/cad-pulse.c:950
 #3  0x0000aaaad7947b3c in cad_manager_handle_select_mode (object=0xaaab157e98d0, invocation=0xffffa4009c40, mode=0) at ../src/cad-manager.c:90
 ...

Guard against that case. Do so in other call sites as well so
we don't hit the same problem should we invoke those functions
internally as well.

To reproduce run `callaudiocli -m 0` on a system that does't
detect a suitable card.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/2a58580b14da4fb18cb8ae7266042985b5214a10

Git commit 22e0ab7e028def67cad145c45f04f400ae7f64b6 by Arnaud Ferraris (on behalf of Guido Günther) on 04/08/2022 at 16:30..
cad-pulse: Use enum for mode
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/22e0ab7e028def67cad145c45f04f400ae7f64b6

Git commit de856a6e1800a75d59e775b728004ab8674955a0 by Arnaud Ferraris (on behalf of Guido Günther) on 04/08/2022 at 16:30..
cad-pulse: Fix comment

We usually end in */ rather than * */
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/de856a6e1800a75d59e775b728004ab8674955a0

Git commit efa4b7a966f5879f978c0a9b6631d51d6046997b by Arnaud Ferraris (on behalf of Guido Günther) on 04/08/2022 at 16:30..
cad-manager: Avoid magic constant

Use the enum to check for valid modes.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/efa4b7a966f5879f978c0a9b6631d51d6046997b

Git commit 0f001025936e3e2e540bcf16c8513c8e5e9fd6ca by Arnaud Ferraris (on behalf of Guido Günther) on 04/08/2022 at 16:30..
build: Enable more warnings

Taken from phosh. E.g. warns us about unhandled enum values.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/0f001025936e3e2e540bcf16c8513c8e5e9fd6ca

Git commit 6040e268b80888fbd290c0e1faab5d1d112655b4 by Arnaud Ferraris (on behalf of Guido Günther) on 04/08/2022 at 16:30..
cad-pulse: Handle CALL_AUDIO_MODE_DEFAULT

Just use the default. This is just to tell the compiler we handled
all values.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/6040e268b80888fbd290c0e1faab5d1d112655b4

Git commit a9885075720ec963ae269a32d6ed338b100dec40 by Arnaud Ferraris (on behalf of Guido Günther) on 04/08/2022 at 16:30..
cad-pulse: Handle default

This makes sure we don't silently miss new enum values.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/a9885075720ec963ae269a32d6ed338b100dec40

Git commit 7f2c63757c9924ec3e9bb762b3728fc489144ed1 by Arnaud Ferraris (on behalf of Guido Günther) on 04/08/2022 at 16:30..
cad-pulse: Drop NULL checks after g_new()

g_new() invoked g_malloc() wich uses g_error() to terminate the
application on allocation failure so there's no need to check
for NULL.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/7f2c63757c9924ec3e9bb762b3728fc489144ed1

Git commit d570fdc3dead7b0bf5db5e5dc8f477c8c530fcb3 by Evangelos Ribeiro Tzaras on 05/09/2022 at 05:45..
Do not build documentation in an arch-only build.

 Closes: bug#1010225 (thanks Helmut Grohne!)
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/d570fdc3dead7b0bf5db5e5dc8f477c8c530fcb3

Git commit 74f6e285f9cc22a1a31db2213f30148cf035ccfd by Evangelos Ribeiro Tzaras on 05/09/2022 at 05:50..
libcallaudio-0-1: Recommend callaudiod
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/74f6e285f9cc22a1a31db2213f30148cf035ccfd

Git commit daf2f74a62b58d7bc70bf75b3c57f928da86d436 by Evangelos Ribeiro Tzaras on 05/09/2022 at 05:50..
Document and release 0.1.4-2
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/daf2f74a62b58d7bc70bf75b3c57f928da86d436

Git commit 5cb1c06c3fe8f94dbda4229aca217f5db32453cb by Evangelos Ribeiro Tzaras on 05/12/2022 at 17:33..
cad-manager: Drop NULL checks after g_new()

g_new() invoked g_malloc() wich uses g_error() to terminate the
application on allocation failure so there's no need to check
for NULL.

Similar to 7f2c63757c9924ec3e9bb762b3728fc489144ed1
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/5cb1c06c3fe8f94dbda4229aca217f5db32453cb

Git commit 412c3aabddd6cdeddbc4df7044dbc1e1c865d310 by Evangelos Ribeiro Tzaras on 05/12/2022 at 17:33..
libcallaudio: Fix typo in documentation
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/412c3aabddd6cdeddbc4df7044dbc1e1c865d310

Git commit fb14fe5850cf86c012c8db45f1dcdc49f223ed5c by Evangelos Ribeiro Tzaras on 05/12/2022 at 17:54..
cad-manager: Return TRUE when returning error for DBus method invocation

Returning an error is still handling the invocation.
See the generated code from gdbus-codegen:

  /**
   * CallAudioDbusCallAudio::handle-select-mode:
   * @object: A #CallAudioDbusCallAudio.
   * @invocation: A #GDBusMethodInvocation.
   * @arg_mode: Argument passed by remote caller.
   *
   * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-mobian_project-CallAudio.SelectMode">SelectMode()</link> D-Bus method.
   *
   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call call_audio_dbus_call_audio_complete_select_mode() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
   *
   * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
   */
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/fb14fe5850cf86c012c8db45f1dcdc49f223ed5c

Git commit 4358323e4452da1c87f7c74a9dd759c34c9a671a by Evangelos Ribeiro Tzaras on 06/12/2022 at 09:05..
cad-manager: Don't return error on unsuccessful operations

The org.mobian_project.CallAudio DBus interface specifies the out
parameter "success", so it should be used in both {un,}successful cases.
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/4358323e4452da1c87f7c74a9dd759c34c9a671a

Git commit 5da9d64aff669b89ef789a5039dea9622178d64d by Arnaud Ferraris (on behalf of Julien Moutinho) on 07/12/2022 at 11:12..
cad-pulse: fix segfault when there is no target port

Fixes #26
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/5da9d64aff669b89ef789a5039dea9622178d64d

Git commit 89d95738a354f01197c747cf903776828c2d6220 by Arnaud Ferraris (on behalf of Julien Moutinho) on 07/12/2022 at 11:49..
cad-pulse: relax card filtering

The previous filtering was too restrictive
(eg. on desktop computers), causing callaudiod to loop with:
Sep 25 20:56:22 callaudiod[1210]: No suitable card found, retrying in 3s...
Sep 25 20:56:25 callaudiod[1210]: No suitable card found, retrying in 3s...
Sep 25 20:56:28 callaudiod[1210]: No suitable card found, retrying in 3s...

as seen in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020722

More debugging messages are also generated.
Use: G_MESSAGES_DEBUG=all callaudiod

Fixes #27
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/89d95738a354f01197c747cf903776828c2d6220

Git commit 18d7398c56533711a7d80e3a3956104cfffc7b18 by Arnaud Ferraris on 07/12/2022 at 11:49..
cad-pulse: stop polling for new cards

We're already subscribed to card-related events, so we get notified each
time a new card is added. Therefore, in case we don't find a suitable
card we can just wait for a new one to be added instead of retrying
every 3s.

Fixes #21
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/18d7398c56533711a7d80e3a3956104cfffc7b18

Git commit f3caa03c750983cfbfce037676276a1cf557e904 by Arnaud Ferraris on 07/12/2022 at 11:49..
cad-pulse: relax card filtering even more

Using an external card (e.g. USB headset) is a perfectly valid use-case,
we shouldn't require the card to be an internal one.

Related to #24
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/f3caa03c750983cfbfce037676276a1cf557e904

Git commit 6ac94ccd5c397479292355b4a43e6dc10c8c5558 by Arnaud Ferraris on 07/12/2022 at 11:50..
Release version 0.1.5
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/6ac94ccd5c397479292355b4a43e6dc10c8c5558

Git commit 7a45e9d1f800ac1adab48a37719a808685d04abd by Arnaud Ferraris on 07/12/2022 at 11:57..
New upstream version 0.1.5
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/7a45e9d1f800ac1adab48a37719a808685d04abd

Git commit 66e29530896c8c84a24c5388b4acfe824f89f84f by Arnaud Ferraris on 07/12/2022 at 11:57..
Update upstream source from tag 'upstream/0.1.5'

Update to upstream version '0.1.5'
with Debian dir ecb6e7e46f672d3e957a3b26a0f1fab0d5297879
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/66e29530896c8c84a24c5388b4acfe824f89f84f

Git commit 17b6824a9d1aca62bad47cd3966e499b673ffbfe by Arnaud Ferraris (on behalf of Debian Janitor) on 07/12/2022 at 12:04..
Apply multi-arch hints. + libcallaudio-doc: Add Multi-Arch: foreign.

Changes-By: apply-multiarch-hints
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/17b6824a9d1aca62bad47cd3966e499b673ffbfe

Git commit 79397272eb0c4da38acb4b6d25f861cf96cd1cc1 by Arnaud Ferraris on 07/12/2022 at 12:09..
d/control: update my email and bump Standards-Version
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/79397272eb0c4da38acb4b6d25f861cf96cd1cc1

Git commit 84e47923b798615ab27d0c37a15c375eb11ea2a2 by Arnaud Ferraris on 07/12/2022 at 12:10..
d/changelog: release version 0.1.5-1
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/84e47923b798615ab27d0c37a15c375eb11ea2a2

Git commit 99ecbf8cff170b40ac9d4c9bcf915b3ab5ae1efa by Evangelos Ribeiro Tzaras on 09/12/2022 at 16:30..
libcallaudio: Prefer using FALSE instead of 0
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/99ecbf8cff170b40ac9d4c9bcf915b3ab5ae1efa

Git commit 932baf3112ba836454c42e793521fdd7c8c1d676 by Evangelos Ribeiro Tzaras on 10/12/2022 at 09:41..
libcallaudio: Distinguish DBus error from unsuccessful operations

This gives users a better idea of what went wrong and avoids derefencing
error if it's NULL.

Operations can be unsuccessful (e.g. on a desktop machine where the
audio card does not expose earpiece/speaker ports) and lead to a
segmentation fault.

Before 4358323e4452da1c87f7c74a9dd759c34c9a671a an error was always
returned in the unsuccessful case, so that the GError was never NULL.

See the following gdb session

Thread 1 "gnome-calls" received signal SIGSEGV, Segmentation fault.
0x00007ffff70644ee in select_mode_done (object=<optimized out>, result=0x55555669e9a0, data=0x5555566b6800) at ../libcallaudio/libcallaudio.c:111
111     ../libcallaudio/libcallaudio.c: No such file or directory.
(gdb) bt
    at ../libcallaudio/libcallaudio.c:111
[snip]
(gdb) p error
$1 = (GError *) 0x0
(gdb) p success
$2 = 0
(gdb) p ret
$3 = 1
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/932baf3112ba836454c42e793521fdd7c8c1d676

Git commit b0fcebe6ba7f3e558b667394833ced17aa7c44f1 by Evangelos Ribeiro Tzaras on 10/12/2022 at 13:06..
libcallaudio: Make logging consistent between sync and async API
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/b0fcebe6ba7f3e558b667394833ced17aa7c44f1

Git commit 5d14b7ca1d2b29197d7e01c10f642bb1af7d7327 by Evangelos Ribeiro Tzaras on 10/12/2022 at 13:06..
libcallaudio: Drop DBus method return value in sync and async functions

If "ret" is FALSE, so will "success" because it will keep the initial
value as the gdbus-codegen generated code will only set the
out-variables if the method invocation succeeded.

See e.g.

gboolean
call_audio_dbus_call_audio_call_mute_mic_finish (
    CallAudioDbusCallAudio *proxy,
    gboolean *out_success,
    GAsyncResult *res,
    GError **error)
{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(b)",
                 out_success);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/5d14b7ca1d2b29197d7e01c10f642bb1af7d7327

Git commit fc5a0db307d17710f61cb2ab3753ea6f7a484c20 by Evangelos Ribeiro Tzaras on 10/12/2022 at 13:06..
libcallaudio: Set error in sync API if unsuccessful
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/fc5a0db307d17710f61cb2ab3753ea6f7a484c20

Git commit a029a5ce7cf77c052a58ee079e74102966428ab9 by Arnaud Ferraris on 10/12/2022 at 17:44..
Release version 0.1.6
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/a029a5ce7cf77c052a58ee079e74102966428ab9

Git commit b4b8eb43cdfd2a82accc0b08c7a44e55d02ad650 by Arnaud Ferraris on 10/12/2022 at 17:45..
Update upstream source from tag 'upstream/0.1.6'

Update to upstream version '0.1.6'
with Debian dir 930d3b376d6c85f96c06c5e7b0c4de7aa178fd15
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/b4b8eb43cdfd2a82accc0b08c7a44e55d02ad650

Git commit 10727d6ff6d583d0a1e372407a45592d3c09a320 by Arnaud Ferraris on 10/12/2022 at 17:45..
New upstream version 0.1.6
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/10727d6ff6d583d0a1e372407a45592d3c09a320

Git commit 6c97d79d85874eef8daa033a50bbd4b8259f7f50 by Arnaud Ferraris on 10/12/2022 at 17:47..
d/changelog: release version 0.1.6-1
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/6c97d79d85874eef8daa033a50bbd4b8259f7f50

Git commit 0755fde62f2a7b439eca7ff1a51cdc46ab69d89a by Andrey Skvortsov on 03/01/2023 at 22:40..
libcallaudio: Properly handle successful return code

Despite successful operation libcallaudio complains about return code.
```
mobian at mobian-dev:~ $ G_MESSAGES_DEBUG=all callaudiocli -m 0
(callaudiocli:25219): libcallaudio-WARNING **: 01:39:39.174: SelectMode (0) unsuccessful
(callaudiocli:25219): libcallaudio-DEBUG: 01:39:39.175: SelectMode succeeded: success=1
```

This behaviour is regression introduced by commit
932baf3112ba836454c42e793521fdd7c8c1d676 (libcallaudio: Distinguish DBus error from unsuccessful operations).
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/0755fde62f2a7b439eca7ff1a51cdc46ab69d89a

Git commit 92cf20a93903fe3d7969f4002643b011011243f7 by Arnaud Ferraris on 10/01/2023 at 15:31..
Release version 0.1.7
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/92cf20a93903fe3d7969f4002643b011011243f7

Git commit a3f1681f046d4ffa744f6c0151ca46ddf1af1c7d by Arnaud Ferraris on 10/01/2023 at 16:16..
New upstream version 0.1.7
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/a3f1681f046d4ffa744f6c0151ca46ddf1af1c7d

Git commit 1f6a7d76db5babf359da2596b6814abf9ab2aec7 by Arnaud Ferraris on 10/01/2023 at 16:16..
Update upstream source from tag 'upstream/0.1.7'

Update to upstream version '0.1.7'
with Debian dir 7ac2f56e21a3e2573cfaea1a92ff4badffd3ff7a
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/1f6a7d76db5babf359da2596b6814abf9ab2aec7

Git commit d04488357ba9694aa4c88a0328f9c24d3cead33b by Arnaud Ferraris on 10/01/2023 at 16:26..
d/changelog: release version 0.1.7-1
https://invent.kde.org/neon/backports-jammy/callaudiod/commit/d04488357ba9694aa4c88a0328f9c24d3cead33b


More information about the Neon-commits mailing list