Juho Hämäläinen
3ba217920b
common: Log input device names when setting new value.
2019-11-15 16:28:53 +02:00
Juho Hämäläinen
1866de8e8d
common: Refactor input stream closing a bit.
2019-11-15 16:28:53 +02:00
Juho Hämäläinen
1f6e402f82
common: Refactor stream standby calls.
2019-11-15 16:28:48 +02:00
TheKit
1787c87407
Branch packaging for Gemian
2019-11-13 22:29:18 +01:00
Jonah Brüchert
58d1e45090
Detect pulseaudio version from the system, don't assume it's always the same as the droid module's one
2019-11-13 13:12:02 +01:00
Marius Gripsgard
c5cca5314f
Fix pkgconf for debian based systems.
...
Since debian based systems uses lib/{arch}/ as libdir and /usr/lib/pulse-* for modules this causes -L to search for -ldroid-utils in lib/{arch}/
2019-11-13 13:10:06 +01:00
TheKit
5edb6d17e8
Merge remote-tracking branch 'debian-pm/master'
2019-11-13 13:05:53 +01:00
Juho Hämäläinen
6b9b141ac8
modules: Log when creating.
...
Easier to spot the log of single entity.
2019-11-13 10:57:43 +02:00
Jonah Brüchert
b5972a7dcc
Fix pulseaudio droid module version
2019-11-12 12:35:59 +01:00
Jonah Brüchert
940476a773
Release 12.2.79-2
2019-11-12 12:06:58 +01:00
Jonah Brüchert
2b9ac12840
Fix generating the pkgconfig files with proper pathes
2019-11-12 12:05:02 +01:00
Juho Hämäläinen
a574c42d7c
Bump packaging version.
2019-11-11 09:59:30 +02:00
Juho Hämäläinen
9363d97953
Merge pull request #94 from mer-hybris/jb48080
...
common: Add missing configuration file search locations.
2019-11-11 09:58:09 +02:00
Matti Lehtimäki
11ea0a60bd
common: Add missing configuration file search locations.
...
[common] Add missing configuration file search locations. JB#48080
2019-11-11 14:47:20 +07:00
Juho Hämäläinen
3ee8e16ad3
Bump packaging version.
2019-10-09 15:02:54 +03:00
Juho Hämäläinen
d10db89b9f
Merge branch 'license'
2019-10-09 11:39:22 +03:00
MikeSalmela
033ad34ca6
license: Fix license in spec.
...
[license] Fix license in spec. JB#45486
2019-10-09 11:28:48 +03:00
Juho Hämäläinen
efb1bcf8cc
Merge branch 'pulse-13-compat'
2019-10-09 11:18:26 +03:00
Alexey Min
21b3c42db7
modules: Fix compatibility with PulseAudio 13.0.
...
There were some API changes:
- 878ef44079
- 6665b466d2
Leading to:
Error relocating /usr/lib/pulse-13.0/modules/libdroid-sink.so: pa_make_realtime: symbol not found
Error relocating /usr/lib/pulse-13.0/modules/libdroid-source.so: pa_make_realtime: symbol not found
Error relocating /usr/lib/pulse-13.0/modules/libdroid-source.so: pa_source_get_state: symbol not found
Fixes are:
- include <pulse/util.h>, replace pa_make_realtime -> pa_thread_make_realtime
- replace pa_source_get_state(X) -> X->state
- replace pa_sink_get_state(X) -> X->state
[modules] Fix compatibility with PulseAudio 13.0. JB#47666
2019-10-09 11:18:21 +03:00
Juho Hämäläinen
97a0c98f84
README: Update keepalive state.
2019-10-09 11:18:08 +03:00
Juho Hämäläinen
e099a0884e
packaging: Add require for pulseaudio-module-keepalive.
2019-10-09 10:58:15 +03:00
Juho Hämäläinen
48a96e89ce
packaging: No more keepalive, nothing needs D-Bus.
2019-10-09 10:56:52 +03:00
Juho Hämäläinen
89cdbb8be7
build: Nothing needs D-Bus.
2019-10-09 10:56:52 +03:00
Juho Hämäläinen
c16bfaa1ce
keepalive: Remove module.
...
[keepalive] Module relocated to its own package. JB#47579
Module relocated to its own package pulseaudio-module-keepalive.
2019-10-09 10:56:19 +03:00
Juho Hämäläinen
adebe47929
Bump packaging version.
2019-10-08 14:23:16 +03:00
Juho Hämäläinen
772b9ca3f1
Merge pull request #92 from jusa/input
...
Rewrite input stream handling.
2019-10-08 14:22:21 +03:00
Juho Hämäläinen
9d5daf5f87
modules: No point in supporting anything older than PulseAudio 10.
2019-10-08 13:23:53 +03:00
Juho Hämäläinen
ea451e9879
common: Recognize some more input flags.
2019-10-08 13:07:21 +03:00
Juho Hämäläinen
97e2ec2e11
build: Check for some more input flags.
2019-10-08 13:07:02 +03:00
Juho Hämäläinen
95c37782c3
source: Use mic control functions from common.
2019-10-07 17:12:30 +03:00
Juho Hämäläinen
1d47383623
README: Add description of reconfiguring droid source.
2019-10-07 11:33:46 +03:00
Juho Hämäläinen
9f27eaed6a
card: Allow selecting whatever module when not using default profile.
2019-10-07 11:33:46 +03:00
Juho Hämäläinen
c6b8807fac
common: Fix creating old-style profiles.
...
At some point in history creating old-style profiles got broken,
resulting in segfault when enabling.
2019-10-07 11:33:46 +03:00
Juho Hämäläinen
ba839c52f4
common: Don't create extra profiles with default profile.
...
We don't need the extra profiles for anything in normal use,
they are just a way to debug profile and hal module handling.
Debugging can still be achieved by using module profiles,
for example with profile=primary
2019-10-07 11:33:46 +03:00
Juho Hämäläinen
1ce36525e0
card: Fix some unused variable warnings.
2019-10-07 11:33:46 +03:00
Juho Hämäläinen
841fa93a03
source: Try to function even if stream reconfiguration fails.
...
Our droid source may be left in a state of not having an input stream
if reconfiguration fails and fallback to previously active values fails
as well. In this case just avoid using the stream but don't die.
2019-10-07 11:33:46 +03:00
Juho Hämäläinen
367a587453
source: Format debug log line better.
2019-10-07 11:33:46 +03:00
Juho Hämäläinen
0708ad905d
source: Remove obsolete comment.
2019-10-07 11:33:46 +03:00
Juho Hämäläinen
70b624d663
source: Implement dynamic source.
...
When new source-output is connecting to our droid source
we check if its sample specification or channel map differ
from currently configured source. If they differ close the
input stream and try to open with the new values. If opening
new input stream fails retry opening with previously used
values.
When there already is one or more connected source-outputs
and a new one connects, source is always reconfigured based
on the latest connecting source-output. Already connected
source-outputs will then reattach so that if need be they
will use resampler to get what they originally requested.
[modules-droid] Source is reconfigured dynamically based on input. Fixes JB#47579
2019-10-07 11:33:33 +03:00
Jonah Brüchert
6803ef07e7
Release new upstream version 12.2.79-1
2019-10-06 15:23:59 +02:00
Juho Hämäläinen
185fb1add0
source: Tag this source always as both builtin and external.
2019-10-03 17:04:27 +03:00
Juho Hämäläinen
4d5c17bed0
source: Set real sample spec and channel map values.
2019-10-03 17:04:27 +03:00
Juho Hämäläinen
f69afe38c6
source: Use new function for opening input stream.
2019-10-03 17:04:27 +03:00
Juho Hämäläinen
57b1848dbf
card: Use set mode function from common.
2019-10-03 17:04:27 +03:00
Juho Hämäläinen
c93ea363b2
common: Reimplement mode change and input stream routing.
2019-10-03 17:04:27 +03:00
Juho Hämäläinen
fc250744f4
common: Pre-increment output id.
2019-10-03 17:04:27 +03:00
Juho Hämäläinen
b1cf9bfcdc
common: Input stream is always primary.
...
There can be only one.
2019-10-03 17:04:27 +03:00
Juho Hämäläinen
2bbeb30522
common: Rewrite input stream opening.
2019-10-03 17:04:25 +03:00
Juho Hämäläinen
2a7dba4d5c
common: Add microphone mute control to common lib.
2019-10-03 16:47:59 +03:00
Juho Hämäläinen
98b7553bc8
common: Add helpers for getting current stream metrics.
2019-10-03 16:45:51 +03:00