Commit graph

192 commits

Author SHA1 Message Date
Juho Hämäläinen
9384008836 [sink] Set initial latency correctly.
Latency would be set correctly after first suspend anyway, but fix
initial latency setting. PulseAudio uses microseconds, HAL milliseconds.
2015-09-11 15:28:54 +03:00
Juho Hämäläinen
89e29ead84 [sink] Sleep after stream writing blocks. Fixes MER#1212
After HAL buffer is full and stream writing starts to block close to the
buffer length, sleep for one buffer length time. When io thread is
sleeping the thread can be waken up for different reasons, and if we
constantly block in the write function io thread is unable to react
immediately.
2015-09-11 15:26:46 +03:00
Juho Hämäläinen
22e1fbbada [sink] Remove mention of buffer count. 2015-09-11 15:13:48 +03:00
Juho Hämäläinen
510209493e Merge pull request #35 from jusa/mer1265
Make attached devices parsing more tolerant of unknown devices.
2015-08-26 08:33:16 +03:00
Juho Hämäläinen
33911d8606 [util] Make attached devices parsing more tolerant of unknown devices. Fixes MER#1265
Previously no unknown devices in attached sections were allowed.
Output and input sections already allow for unknown devices as long as
at least one known device is found per section. This changes attached
devices parsing to behave the same way, as long as at least one device
in attached_input_devices or attached_output_devices is known allow
module loading.
2015-08-25 16:15:40 +03:00
Juho Hämäläinen
3fb96ea58f Merge pull request #33 from jusa/mer1188
Add basic support for Android 5.1.
2015-07-22 14:46:47 +03:00
Juho Hämäläinen
50bdc79fde [README] Update supported versions. 2015-07-22 14:29:42 +03:00
Juho Hämäläinen
b304f2df13 [util] Support parsing of dynamic formats.
Only parse the value, but no actual implementation for the format
probing.
2015-07-22 11:53:43 +03:00
Juho Hämäläinen
0d3f0286a8 [util] Support parsing of dynamic sample rate.
Only parse the value, but no actual implementation for the sample rate
probing.
2015-07-22 11:47:25 +03:00
Juho Hämäläinen
e487b550b0 [source] Preliminary 5.1 support. Contributes to MER#1188 2015-07-22 11:35:45 +03:00
Juho Hämäläinen
00593581f0 [sink] Preliminary 5.1 support. Contributes to MER#1188 2015-07-22 11:35:24 +03:00
Juho Hämäläinen
30b2042252 [util-51] Add headers for 5.1. Contributes to MER#1188 2015-07-22 11:35:10 +03:00
Juho Hämäläinen
4542540c8e [util] Parse input flags with Audio HAL v3. 2015-07-22 11:00:31 +03:00
Juho Hämäläinen
01d8ea1352 [util-4x] Add or rename HAL version define. 2015-07-22 11:00:31 +03:00
Juho Hämäläinen
0f7ef7a60e [util-4x] Rename output flag conversion table. 2015-07-22 11:00:31 +03:00
Juho Hämäläinen
4182ff57ed [util] Audio HAL version 3. 2015-07-22 11:00:31 +03:00
Juho Hämäläinen
c6248e9b72 [util] Update flag parsing to distinguish input and output flags. 2015-07-22 11:00:31 +03:00
Juho Hämäläinen
c63c9f8e3f Revert "[util-44] Add additional string conversion table entries."
This reverts commit f2d780cecf.

Need to check more carefully which devices support these.
2015-06-06 12:31:14 +03:00
Juho Hämäläinen
cfd51f561a Merge pull request #32 from mlehtima/master
Fix audio on iyokan.
2015-06-06 12:16:27 +03:00
Olaf Leidinger
f2d780cecf [util-44] Add additional string conversion table entries.
This is mal's patch for additional string conversion table entries.
2015-06-06 11:30:05 +03:00
Matti Lehtimaki
a6e4c95152 [source] Set input stream to standby before starting the loop.
Fixes a hang on some devices which do the necessary initialization in read(...).
2015-06-06 10:23:32 +02:00
Matti Lehtimaki
ec1cf59f09 [source] Use mako set_parameters hack also on iyokan. 2015-06-06 10:21:46 +02:00
Juho Hämäläinen
e30295a92e [packaging] Sbj build depends on PulseAudio major.minor version. 2015-05-04 13:04:24 +03:00
Juho Hämäläinen
debec1efb9 [packaging] Build depends on PulseAudio major.minor version. 2015-05-04 12:56:44 +03:00
Juho Hämäläinen
966ab674a8 Merge pull request #30 from jusa/pa60
Update to PulseAudio 6.0
2015-05-04 12:18:19 +03:00
Juho Hämäläinen
0143c1b6a8 [packaging] Bump version and update build for dynamic versioning. 2015-04-15 15:52:40 +03:00
Juho Hämäläinen
6be21bd697 [sink,source] Use updated pa_rtpoll_run(). Contributes to JB#26620
Support both PulseAudio 5.0 and 6.0 API.
2015-04-15 15:05:23 +03:00
Juho Hämäläinen
bd75fb9f92 [build] Use dynamic versioning same way as PulseAudio. 2015-04-15 15:05:16 +03:00
Juho Hämäläinen
4bc2ad8ab5 Merge pull request #29 from jusa/dev
Conversion header fixes
2015-04-03 14:51:33 +03:00
Juho Hämäläinen
6288f208d4 [util-44] Add missing device fancy names. 2015-04-03 08:59:47 +03:00
Juho Hämäläinen
4db7997e55 [util-44] Fix fancy audio source name typo. 2015-02-27 14:44:03 +02:00
Juho Hämäläinen
5e8d92a121 [util-42] Fix fancy audio source name typo. 2015-02-27 14:44:00 +02:00
Juho Hämäläinen
02e3f04365 [util-41qc] Fix fancy audio source name typo. 2015-02-27 14:43:55 +02:00
Juho Hämäläinen
8ea034153a Merge pull request #28 from jusa/dev
Fix build with Mako.
2015-02-24 16:38:25 +02:00
Juho Hämäläinen
88e8b6d924 [build] Bump version. 2015-02-24 16:32:12 +02:00
Juho Hämäläinen
f371b712fd [card] Return status from set_parameters_cb. Fixes JB#26754 2015-02-24 16:32:10 +02:00
Juho Hämäläinen
02b8e7e770 [util] Have common_set_parameters_cb return int. 2015-02-24 16:17:50 +02:00
Juho Hämäläinen
51d74f5709 Merge pull request #27 from jusa/dev
Updates to routing and audio source handling.
2015-02-24 13:44:24 +02:00
Juho Hämäläinen
be06a5f953 [build] Bump version. 2015-02-24 13:35:25 +02:00
Juho Hämäläinen
5fe6843c93 [util-41qc] Update fancy input communication name.
Use the same name for AUDIO_DEVICE_IN_COMMUNICATION as other droid
versions.
2015-02-24 13:35:25 +02:00
Juho Hämäläinen
95f3906a78 [util-41qc] Add fancy audio source names. 2015-02-24 13:35:25 +02:00
Juho Hämäläinen
afacf2e8c4 [util-42] Add fancy audio source names. 2015-02-24 13:35:25 +02:00
Juho Hämäläinen
02260f6d2b [util-44] Default audio routes for hammerhead input devices. Fixes JB#26733
Nexus 5 hammerhead HAL considers AUDIO_SOURCE_DEFAULT as "no source" and
recording is muted. Define default audio source for all input devices to
get audible recordings with hammerhead.
2015-02-24 13:35:25 +02:00
Juho Hämäläinen
b4aef7267b [source] Set active audio source to source proplist. 2015-02-24 13:35:25 +02:00
Juho Hämäläinen
b1f4ece85f [util-44] Add fancy audio source names. 2015-02-24 13:35:23 +02:00
Juho Hämäläinen
f81a4ea19e [util] Add parser for fancy audio source names. 2015-02-24 12:38:50 +02:00
Juho Hämäläinen
3331fe0dd1 [sink] Check for errors when changing routing. 2015-02-24 12:38:50 +02:00
Juho Hämäläinen
1f1d971b34 [source] Check for errors when changing routing. 2015-02-24 12:38:47 +02:00
Juho Hämäläinen
b88bc11f8e Merge pull request #26 from jusa/dev
Suspend streams before closing.
2015-02-19 18:14:03 +02:00
Juho Hämäläinen
8365a07637 [source] Suspend stream before closing. 2015-02-19 17:29:04 +02:00