Commit Graph

4 Commits

Author SHA1 Message Date
Tom Yan
7b7f3c48df pulseaudio: process rewind in the realtime loop
It seems to be the standard approach. Let's see if it eliminates
assertion failures that are related to rewind processing.
2021-09-06 12:13:45 +02:00
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
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