Juho Hämäläinen
030586126c
Bump packaging version.
2018-05-16 17:44:59 +03:00
Juho Hämäläinen
296a4840ed
Merge pull request #75 from jusa/jb41899
...
Add quirk output_make_writable.
2018-05-16 17:43:55 +03:00
Juho Hämäläinen
473116ee34
[README] Add description for output_make_writable quirk.
2018-05-16 17:14:33 +03:00
Juho Hämäläinen
c826746b20
[sink] Implement output_make_writable quirk. JB#41899
...
Make memchunk writable if the quirk is enabled.
2018-05-16 17:05:05 +03:00
Juho Hämäläinen
a2b0179c31
[common] Add quirk output_make_writable. JB#41899
...
Some implementations modify write buffer in-place which
can segfault PulseAudio as it assumes that write buffer
is not touched. Add quirk to make sure that the write
buffer can be safely modified.
2018-05-16 17:04:43 +03:00
Juho Hämäläinen
642644abe2
Bump packaging version.
2018-02-17 12:31:33 +02:00
Juho Hämäläinen
1bc9b9ade0
Merge pull request #73 from jusa/pa11.1
...
Update to PulseAudio 11.1.
2018-02-17 12:26:31 +02:00
Juho Hämäläinen
bfe94c0fec
[source] Post silence if resuming input stream fails.
...
Some input route changes might fail a couple of times
if done too soon after voice call ends, so if resuming
suspended stream fails post silence and try again until
we get proper input stream again.
2018-02-15 16:04:59 +02:00
Juho Hämäläinen
e3e0937e4d
[common] Decrease verbosity of failing input resume.
2018-02-15 15:56:37 +02:00
Juho Hämäläinen
ab92999a08
[card] Update to PulseAudio 11.1. JB#38694
2018-02-13 14:09:55 +02:00
Juho Hämäläinen
e013a5b2ee
Merge pull request #72 from jusa/jb40125
...
Fix input profile actions with merged input mapping.
2018-02-06 11:08:33 +02:00
Juho Hämäläinen
43e266d7de
[packaging] Bump version.
2018-02-05 17:33:02 +02:00
Juho Hämäläinen
49f5a5aa1c
[card] Update record profile correctly with merged input. JB#40125
2018-02-05 17:33:00 +02:00
Juho Hämäläinen
51731c9578
[common] Get mapping based on device.
2018-02-05 17:13:06 +02:00
Juho Hämäläinen
865805121a
[sink] Use pa_memblock_acquire_chunk.
...
Convenience function so that we don't need to do
indexing ourselves.
2017-12-19 11:49:45 +02:00
Juho Hämäläinen
12b0f79ccb
[packaging] Bump version. JB#40125
2017-12-18 13:10:08 +02:00
Juho Hämäläinen
f4536d12d5
Merge pull request #71 from jusa/jb40292
...
Set input stream to standby before closing and add new quirk.
2017-12-11 17:39:56 +02:00
Juho Hämäläinen
e754b2c768
[README] Add description for no_hw_volume quirk.
2017-12-11 17:24:18 +02:00
Juho Hämäläinen
3bf80c8a0f
[sink] Allow disabling hw volume control with quirk. JB#40292
...
Some implementations define set_volume() callback and return
NO_ERROR from calling that, when API documentation says that
if the implementation doesn't really use hw volume control that
callback should be NULL (or return other than NO_ERROR at least).
To behave correctly with these broken implementations use
quirk no_hw_volume for disabling hw volume control when needed.
2017-12-11 16:21:05 +02:00
Juho Hämäläinen
eaf5c5bb2a
[common] Add new quirk no_hw_volume. JB#40292
...
Add quirk for forcing no hw volume control for output
streams.
2017-12-11 16:16:41 +02:00
Juho Hämäläinen
5ffa53c1d5
[common] Set input stream to standby before closing. JB#40125
...
Some implementations don't like to close the input stream
if the stream is not in standby.
2017-12-11 16:16:31 +02:00
Juho Hämäläinen
c076f8d861
Merge pull request #70 from jusa/dynamictags
...
Flag sinks and sources with type defining properties and open multiple sinks and sources by default.
2017-12-08 14:35:38 +02:00
Juho Hämäläinen
89bc9d13e9
[README] Add section explaining quirks.
2017-11-20 12:03:03 +02:00
Juho Hämäläinen
1b7842655e
[common] Enable input_atoi quirk by default with modern adaptations.
2017-11-20 12:02:34 +02:00
Juho Hämäläinen
30851d2343
[README] Update description of droid modules.
...
Add sections about new default profile feature and
sink/source classification properties.
2017-11-20 11:44:00 +02:00
Juho Hämäläinen
8afa9cc40d
[card] Set off profile as available.
...
Without setting the availability to PA_AVAILABLE_YES it
is not possible to enable the off profile.
2017-11-20 11:44:00 +02:00
Juho Hämäläinen
33cf5fc36d
[sink] Use pa_droid_stream_get_latency() from common.
2017-11-20 11:44:00 +02:00
Juho Hämäläinen
fe5025d562
[common] Add function to get stream latency in PulseAudio default type.
2017-11-20 11:44:00 +02:00
Juho Hämäläinen
dedd2cd8f0
[source] Pass droid mapping when opening input stream.
2017-11-20 11:44:00 +02:00
Juho Hämäläinen
3d76a68172
[common] Use droid mapping for input stream creation.
...
Needed to determine if the new stream is merged one or not.
2017-11-20 11:44:00 +02:00
Juho Hämäläinen
66ac854d1a
[sink] Use updated stream structures.
2017-11-20 11:44:00 +02:00
Juho Hämäläinen
222db9e7c5
[source] Use updated stream structures.
2017-11-20 11:44:00 +02:00
Juho Hämäläinen
a219305f37
[common] Refactor stream data to separate structures.
...
Have pa_droid_output_stream and pa_droid_input_stream for
output and input streams, respectively.
2017-11-20 11:44:00 +02:00
Juho Hämäläinen
e6bec187d5
[card] Add module argument for controlling input merging.
...
Defaults to merging input routes for default profile.
2017-11-20 11:44:00 +02:00
Juho Hämäläinen
6cfc1b7282
[common] Add option to merge input streams in default profile.
...
This way if different input routes are split to multiple
input profiles we can use all routes from single PulseAudio
source.
2017-11-20 11:44:00 +02:00
Juho Hämäläinen
2eef2c0f6e
[card] Attach remaining moving sink-inputs to primary sink if one exists.
2017-11-20 11:43:57 +02:00
Juho Hämäläinen
6f722023c8
[card] Use default profile with primary module by default.
2017-11-09 14:30:31 +02:00
Juho Hämäläinen
f2f5db85d2
[source] Set created source as data for input stream.
...
[source] Mark source proplist with droid api string.
2017-11-09 14:30:31 +02:00
Juho Hämäläinen
82ea053adc
[sink] Set created sink as data for output stream.
2017-11-09 14:30:31 +02:00
Juho Hämäläinen
0b915e32ba
[common] Replace combine profile with default profile.
...
Autodetects all outputs and inputs that can co-exist, and
marks the sinks and sources with stream types to aid in
classification elsewhere (policy-enforcement).
2017-11-09 14:30:31 +02:00
Juho Hämäläinen
0e9f29cc35
[build] Link libraries in right order.
2017-11-09 14:30:31 +02:00
Juho Hämäläinen
1da9d49c40
[common] Add quirk unload_no_close.
...
When enabled don't call audio_hw_device_close() for hal device.
2017-11-09 14:30:31 +02:00
Juho Hämäläinen
4933ed1934
[source] Use input name from mapping when loaded from droid card.
2017-11-09 14:30:31 +02:00
Juho Hämäläinen
253e4d79fe
[keepalive] Use MCE given keepalive period.
...
We can use the value directly, as MCE reports N second renew
period, but waits N+15 seconds i.e. there is some scheduling
slack already added in by default.
2017-11-09 14:29:49 +02:00
Juho Hämäläinen
48a63c17cf
[keepalive] Fix assert when closing module immediately after startup.
...
If the keepalive starts pending call and is immediately unloaded the
pending call is not cancelled and the pending call function is called
after the pulseaudio dbus connection object has ref count 0, causing
assert fail.
2017-11-09 14:29:43 +02:00
Juho Hämäläinen
1258e693c1
[sink] Default to not mixing output routes.
2017-10-30 15:22:15 +02:00
Juho Hämäläinen
520ca06e23
[build] Have micro version for pc version.
...
As the micro part of the version is the one representing new
versions of the modules (and the major.minor part represents
which PulseAudio version these modules work with), use the micro
part for the .pc Version number, so that it is possible to
reliably depend on module version.
2017-10-25 11:44:53 +03:00
Juho Hämäläinen
76cd016b5d
[sink] Apply routing changes always immediately. Fixes MER#1832
...
All hal implementations (that I've seen) handle the parameter setting
gracefully anyways, no need to be extra careful ourself. Also, the way
the routing change is implemented poses difficulties with multiple
active sinks. When we have two sinks, like sink.primary and
sink.deep_buffer, and only sink.deep_buffer is active, setting the
routing changes to sink.primary won't be applied as the sink is
suspended. It would require too much effort to try to keep the routing
changes and everything in sync with multiple sinks. Thus, just drop the
extra work.
2017-10-24 10:36:41 +03:00
Juho Hämäläinen
18154fa18a
Merge pull request #68 from jusa/jb40147
...
Fix voicecall record with certain devices.
2017-10-24 10:35:48 +03:00
Juho Hämäläinen
3fdfa2cfcd
[common] Use correct input mapping with voicecall record. Fixes JB#40147
2017-10-23 17:53:09 +03:00