Commit Graph

17 Commits

Author SHA1 Message Date
Patrick Gaskin
3a36080b2b pulseaudio: Implement all sample/map options, > 2 ch output for sles modules
* Make both modules support format, channels, rate, and
  channel_map.
* Add support for > 2 channels to the sink. This needs to be
  manually enabled by increasing the number of channels in the
  default.pa script or by loading an additional module-sles-sink
  manually.
2021-02-09 23:49:09 +02:00
Patrick Gaskin
fc007e73f4
PulseAudio SLES module improvements (#6290)
* pulseaudio: Improve error msg when module-sles-source is missing the RECORD_AUDIO permission

* pulseaudio: Refactor and improve module-sles-{source,sink}

* More readable and consistent code style.
* Fix subtle bugs and typos (e.g. duplicate or ineffectual assignments,
  mishandled enums, etc).
* Fix stereo input channel mask.
* Fix wrong self object being passed to SLES functions.
* Handle more sample formats.
* Better logging.
* Fix potential freeing of undefined pointers.
* Fixed module usage (channel_map was on source instead of sink,
  some items were missing the trailing space).
* Other minor fixes.

* pulseaudio: Implement PA_SINK_MESSAGE_GET_LATENCY message

Every built-in module implements this and without it, PA will crash
in some cases (e.g. when opening pavucontrol).

* pulseaudio: Increment TERMUX_PKG_REVISION
2021-01-24 22:21:02 +05:30
Patrick Gaskin
a3d0c0df0f
pulseaudio: Add dependency on libwebrtc-audio-processing (#6273) 2021-01-18 12:55:29 +05:30
Patrick Gaskin
a5becf97c2
pulseaudio: Update to 14.2 (#6271) 2021-01-18 02:01:02 +05:30
Leonid Pliushch
37375312b9
explicitly set maintainer for each package
In issue https://github.com/termux/termux-packages/issues/6160 I have found
that community repo "its-pointless.github.io" specifies us as maintainer
for its packages. This is NOT TRUE and potentially misleads people using
these packages.

Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral
and not specify maintainer. So all packages now have to override it to
the correct value.

[skip ci]
%ci:no-build
2020-12-20 15:16:34 +02:00
Tom Yan
8eed8148a0 pulseaudio: Update from 13.0 to 14.0 2020-12-11 16:18:39 +02:00
Henrik Grimler
7e662c4d6f pulseaudio: use new termux_git_clone_src function 2020-07-21 10:14:19 +02:00
Leonid Pliushch
f97dd007c5 pulseaudio: use git for downloading sources (required by ./bootstrap.sh) 2020-04-26 14:26:50 +03:00
Leonid Pliushch
40d6043cb2 pulseaudio: switch source url 2020-04-26 14:19:07 +03:00
Leonid Pliushch
1e0bc07e0b pulseaudio: bump revision 2020-04-26 12:50:59 +03:00
Leonid Pliushch
5123b0cffa fix formatting of some build.sh 2020-01-13 03:00:07 +02:00
Fredrik Fornwall
5d7a32bfcc Get rid of more liblog linkage 2019-12-30 01:05:41 +01:00
Tom Yan
4c70d6f7da build with posix_madvise 2019-10-08 10:41:40 +08:00
Tom Yan
4a1892f616 remove pre-configure hacks 2019-10-08 10:31:21 +08:00
Tom Yan
d88f6bd83c pulseaudio: Update from 12.2 to 13.0 2019-10-08 09:30:33 +08:00
Tom Yan
22bb80b99e pulseaudio: declare conf files 2019-10-08 09:27:36 +08:00
Tom Yan
2f8ad960c0 pulseaudio: unsplit package
With commit 63dc34f being accepted, there isn't exactly a reason that pulseaudio should be splited into two packages anymore.
2019-10-07 21:27:31 +08:00