Commit graph

757 commits

Author SHA1 Message Date
Juho Hämäläinen
87e36be31e source: Remove droid hooks and resampler code.
Part of rewriting input handling.
2019-10-03 11:36:40 +03:00
Juho Hämäläinen
26bf0ee2ca common: Remove droid hooks.
Part of rewriting input handling.
2019-10-03 11:36:11 +03:00
Juho Hämäläinen
5a47cc2c56 card: There can be only one source at maximum. 2019-10-03 11:29:35 +03:00
Juho Hämäläinen
24bcbbd373 source: Use modified device struct. 2019-10-03 11:28:26 +03:00
Juho Hämäläinen
cd3465b2f2 common: Always use only one input.
Android by design only allows one input at a time so previous
adaptations where we could record to input sources at the same
time was a coincidence. Line the implementation with how the
input handling is defined.

[common] Always use only one input. JB#45496
2019-10-03 11:28:07 +03:00
Juho Hämäläinen
09c3cca84e
Merge pull request #91 from jusa/voicemmode
Refactor virtual profiles and add voicemmode 1 and 2 profiles.
2019-08-09 13:49:37 +03:00
Juho Hämäläinen
f7850df526 card: Improve virtual profiles implementation.
Previously only one profile could extend previous one, with new
implementation one virtual profile can have as many extensions as is
needed. But only two levels of virtual profiles is supported, that
is virtual1->virtual1-exetension.
2019-08-09 10:17:16 +03:00
Juho Hämäläinen
77de8c289a card: Enable voicecall-record profile always with voicecall. 2019-08-09 10:17:16 +03:00
Juho Hämäläinen
3df73147d9 card: Add voicemmode 1 and 2 for debugging purposes.
Add virtual profiles voicecall-voicemmode1 and voicecall-voicemmode2 for
debugging purposes to droid card.

[card] Add voicemmode 1 and 2 virtual profiles. JB#46805
2019-08-09 10:16:32 +03:00
Juho Hämäläinen
96c4e2ea97 Bump packaging version. 2019-05-15 11:46:47 +03:00
Juho Hämäläinen
3a195e0929
Merge pull request #88 from jusa/dev
Fix segfaults with bad input in xml parser and refactor conversion header a bit.
2019-05-15 11:39:23 +03:00
Juho Hämäläinen
0861b3beff xml-parser: Don't allocate unhandled element data. 2019-05-14 17:16:30 +03:00
Juho Hämäläinen
abf4c9037b README: Update enum check example. 2019-05-13 11:54:03 +03:00
Juho Hämäläinen
1e41bf5a45 source: Make sure proper silence byte is used.
Most of the time 0 is right but there are (uncommon) cases
when it is not.

[source] Use format specific silence byte when needed.
2019-05-13 10:11:46 +03:00
Juho Hämäläinen
f032e4a37b common: Use entry macros instead of ifdeffing. 2019-05-13 10:11:46 +03:00
Juho Hämäläinen
13b3ed1a75 build: Generate entry macros as well. 2019-05-13 10:11:46 +03:00
Juho Hämäläinen
0fdfef668d build: Use correct channel input channel names. 2019-05-13 10:11:46 +03:00
Juho Hämäläinen
ab883c792b module-droid-source: Add config as valid module argument. 2019-05-13 10:11:46 +03:00
Juho Hämäläinen
a9566c26b3 module-droid-sink: Add config as valid module argument. 2019-05-13 10:11:46 +03:00
Juho Hämäläinen
73bf39a07a droid-sink: Don't free config twice. 2019-05-13 10:11:46 +03:00
Juho Hämäläinen
07df5e6953 xml-parser: Avoid segfault if root node is not defined.
[xml-parser] Behave better with badly formatted input.
2019-05-13 10:11:29 +03:00
Jonah Brüchert
ec3260a88f
Release 12.2.78-1 2019-04-25 22:37:48 +02:00
Jonah Brüchert
a61a670284
New upstream release 12.2.78-1 2019-04-25 22:37:32 +02:00
Juho Hämäläinen
b4414fb5a1 Bump packaging version. 2019-04-04 11:54:38 +03:00
Juho Hämäläinen
4a558ba35f
Merge pull request #87 from jusa/jb44329
droid-sink droid-source: Return from process_msg only on error.
2019-04-04 11:53:30 +03:00
Juho Hämäläinen
f652f1f52a droid-sink droid-source: Return from process_msg only on error.
When updating the implementation to support PulseAudio 12.2 the handling
of sink/source process msg function with older PulseAudio versions
incorrectly returns always, when that should only be done in case of
error.

[modules-droid] Update sink/source state correctly with PulseAudio 11.1. JB#44329
2019-04-04 11:11:52 +03:00
Juho Hämäläinen
b1ce02b3d6
Merge pull request #86 from jusa/pa12.2
Update to support PulseAudio 12.2.
2019-03-22 13:23:24 +02:00
Juho Hämäläinen
8ff57cbc0d packaging: Bump module version.
[modules-droid] Update to support PulseAudio 12.2. JB#42201
2019-03-22 10:41:50 +02:00
Juho Hämäläinen
c3c456db8b droid-source: Update state setting to PulseAudio 12.2 style. 2019-03-22 10:41:50 +02:00
Juho Hämäläinen
3210023c94 droid-sink: Update state setting to PulseAudio 12.2 style. 2019-03-22 10:41:48 +02:00
Jonah Brüchert
ad620b712a
New upstream release 11.1.76 2018-12-03 21:39:37 +01:00
Juho Hämäläinen
b00bc7c3ea Bump packaging version. 2018-11-15 16:15:51 +02:00
Juho Hämäläinen
2e3e5c8977
Merge pull request #85 from jusa/jb43836
Fix voicecall recording on Jolla1.
2018-11-15 16:15:00 +02:00
Juho Hämäläinen
aa28d5935d [sbj] Add missing define to fix voicecall recording. Fixes JB#43836
When refactoring code for XML configuration parsing QCOM_HARDWARE define
was lost on Jolla1. This broke at least voicecall recording.
2018-11-15 15:34:20 +02:00
Jonah Brüchert
8ef0e32e18
New upstream release 11.1.75 2018-11-13 21:18:48 +01:00
Jonah Brüchert
05a5925baf
Update Vcs information 2018-11-02 19:14:50 +01:00
Juho Hämäläinen
781d8fa842 Bump packaging version. 2018-11-01 14:51:19 +02:00
Juho Hämäläinen
281c000b04
Merge pull request #84 from jusa/xml_parser
Be less strict about module element parsing.
2018-11-01 14:49:16 +02:00
Juho Hämäläinen
9f5da93e9c [xml-parser] Be less strict in parsing module attributes. JB#42564
We are not yet using any of the information in module element anywhere
anyway.
2018-11-01 14:41:39 +02:00
Jonah Brüchert
f293111905
Move .gitlab-ci.yml into debian folder 2018-10-24 18:17:10 +02:00
Jonah Brüchert
addd9f1adc
New upstream release (11.1.74) 2018-10-13 20:53:09 +02:00
Jonah Brüchert
6355803c66
Make sure we install to the correct module path 2018-10-13 20:52:37 +02:00
Jonah Brüchert
ed595dec5b
Add GitLab ci configuration 2018-10-07 00:52:19 +02:00
Juho Hämäläinen
c60108b799
Merge pull request #83 from jusa/jb43235
Add unload_call_exit quirk.
2018-10-05 11:26:49 +03:00
Juho Hämäläinen
d8a3c42f06 [README] Add description for unload_call_exit quirk. 2018-10-05 11:05:08 +03:00
Juho Hämäläinen
c502e04d6f [source] Free config after use. 2018-10-05 11:05:08 +03:00
Juho Hämäläinen
ee53393fff [sink] Free config after use. 2018-10-05 11:05:08 +03:00
Juho Hämäläinen
e486eeaaee [card] Free config after use. 2018-10-05 11:05:08 +03:00
Juho Hämäläinen
0ac35e1246 [common] Duplicate config for hw module.
Instead of transferring ownership just duplicate the
configuration.
2018-10-05 11:05:08 +03:00
Juho Hämäläinen
81a43e7b5e [common] Add function to duplicate configuration. 2018-10-05 11:05:08 +03:00