• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Pipewireパッケージ(ちょっと変更)


RSS
Rev. Hora Autor
636a9c6 2023-11-10 05:36:15 Pauli Virtanen

acp: Respect XDG base directory spec when loading configs

Backport from Pulseaudio. Reimplement get_data_path. We'll look for the
override files similarly as we do for other config files
(XDG_CONFIG_HOME then /etc then install location), instead of looking at
the Pulseaudio locations ~/.local/share/pulseaudio etc.

Upstream commits:

From: SimonP <simonp.git@gmail.com>

alsa-mixer: Respect XDG base directory spec when loading profile sets

Try $XDG_DATA_HOME, then $XDG_DATA_DIRS, and finally fall back to old behaviour.

From: SimonP <simonp.git@gmail.com>

alsa-mixer: Respect XDG base directory spec when loading path configs

Try $XDG_DATA_HOME, then $XDG_DATA_DIRS, and finally fall back to old
behaviour (prefix-defined directory).

core-util: Ignore non-absolute XDG base dirs

These are invalid per the spec.

3bbd1e6 2023-11-09 23:24:09 Arun Raghavan

alsa: Prevent pitch element probe from stepping on bind ctls

Since they're both using the same device, we want to make sure one
doesn't cause the other to be closed on failure.

caf7eb3 2023-11-09 23:23:07 Arun Raghavan

alsa: Fix ctl device cleanup order

Reorder removing sources, closing the ctl device, and freeing memory, so
that there's no chance of races causing a crash.

ea412a5 2023-11-08 20:59:33 Wim Taymans

jack: fix midi events from peer port

When we get a midi buffer directly from one of our peer ports, we need
to convert it to a jack midi buffer.

Note that this previously returned NULL because of the size check of the
midi buffer, which was likely much smaller than the frames argument.

This fixes midi event recording preview in ardour.

e1fd73d 2023-11-08 17:10:17 Silviu Florian Barbulescu

Fix set state not seated on linked transport

2871a65 2023-11-08 13:22:53 Arun Raghavan

alsa: Add a mechanism to bind ALSA controls as prop params

This adds an api.alsa.bind-ctls property to alsa-pcm sink and source
nodes, to bind a property to an ALSA PCM ctl. The property is an array
of ctl names that should be bound.

This can be handy, for example, to bind the Playback/Capture Rate
controls on a USB gadget, in order to track the PCM's state via a node
param.

This is currently wired to be read-only, but it should be easy enough to
make it writable.

6bae812 2023-11-08 04:15:12 Arun Raghavan

alsa: Share node/port info emission code between sink and source

It's mostly the same, and it allows us to trigger this code in the
shared alsa-pcm.c code as well.

72c9fba 2023-11-08 03:07:32 Pauli Virtanen

module-protocol-native: emit error on bad concurrency

Emit error if message construction is not holding appropriate locks or
runs from wrong thread, so that the flush may be running concurrently.

This generally causes corrputed messages to be sent silently, and can be
fairly hard to debug otherwise in client applications.

b832a94 2023-11-07 03:01:20 Barnabás Pőcze

pipewire: utils: make `pw_strv_find()` take a `const char *`

There is no reason to take just a `char *` as the string only ever read.

08002f0 2023-11-07 03:01:20 Barnabás Pőcze

spa: libcamera: get rid of an unnecessary `snprintf()` call

Simply use the returned string for populating the spa_dict
instead of doing a copy into a fixed size buffer on the stack.

5b128cd 2023-11-07 03:01:20 Barnabás Pőcze

spa: alsa: compress-offload: use `spa_assert_not_reached()`

Use `spa_assert_not_reached()` instead of `assert(false)`
as it is more descriptive and the error message is clearer.

e4d1ab0 2023-11-07 03:01:20 Barnabás Pőcze

spa: debug: log: use `SPA_CONTAINER_OF()`

Use `SPA_CONTAINER_OF()` instead of direct casting as it is
more resilient against future changes that might reorder the
members in `struct spa_debug_log_ctx`.

6f6bf20 2023-11-07 01:48:02 Wim Taymans

alsa: remove redundant snd_pcm_recover()

Because we now always _drop/_prepare_/_start, the snd_pcm_recover()
before that is no longer useful.

Retry snd_pcm_resume() after suspend when -EAGAIN and fall back to
_drop/_prepare/_start when that fails.

0163d4d 2023-11-07 00:02:10 Jonas Holmberg

systemd: Limit system manager socket permissions

Remove group permission on the system manager socket so that restricted
clients cannot use it to get unrestricted access. It is assumed that the
session manager system service (wireplumber) is running as pipewire user
and will get access to the manager socket, while other clients are
members of the pipewire group and will only get access to the normal
socket.

35b115f 2023-11-06 23:56:36 Wim Taymans

context: stop scanning on feedback links

If we have a feedback link around a driver, stop scanning for
runnable nodes or else we will be looping forever.

Fixes #3621

032955f 2023-11-06 23:09:35 Wim Taymans

alsa: disable resample when pitch element is available

We need to disable the resampler when there is a pitch element. This was
correctly done in setup_matching but not in check_position_config().

See #3628

70d2b0e 2023-11-06 17:43:46 James Calligeros

module-rt: enable setting UCLAMP_MIN and UCLAMP_MAX values

Modern heterogenous multiprocessor systems rely increasingly on
scheduler hinting for efficiency gains and system optimisation.
This is especially true on embedded systems, where background
tasks such as audio daemons should be consigned to the most
power-efficient core in the system. Left to its own devices, the
Linux Completely Fair Scheduler tends to migrate Pipewire to
more performant cores, even when this is unnecessary.

Luckily, CFS can be told by a task to clamp its utilisation values.
Coupled with energy-aware scheduling, this allows the scheduler to
make better informed decisions about where tasks should be placed,
and what pstate to set for the CPU it is running on.

Enable the user to configure UCLAMP_MIN and UCLAMP_MAX values via
arguments to libpipewire-module-rt.

Signed-off-by: James Calligeros <jcalligeros99@gmail.com>

0e35750 2023-11-06 06:36:49 Sam James

spa: bluez: fix -Walloc-size

GCC 14 introduces a new -Walloc-size included in -Wextra which gives:
```
./pipewire-0.3.84/spa/plugins/bluez5/codec-loader.c:176:14: warning: allocation of insufficient size ‘1’ for type ‘struct impl’ with size ‘1032’ [-Walloc-size]
```

The calloc prototype is:
```
void *calloc(size_t nmemb, size_t size);
```

So, just swap the number of members and size arguments to match the prototype, as
we're initialising 1 struct of size `sizeof(struct impl)`. GCC then sees we're not
doing anything wrong.

Signed-off-by: Sam James <sam@gentoo.org>

33db334 2023-11-04 22:22:18 Pauli Virtanen

doc: link \page and \group by \see

c77fdb4 2023-11-04 22:22:01 Pauli Virtanen

doc: hide useless indices in doxygen output etc. fixes

Hide useless paginated indices.
Rename "Related Pages" -> "Pages".
Fix manpage brief description.
Fix file path name stripping.
Move macro listings after enums, so that they're next to functions.
Remove pwtest from docs, it's not API.
Fixup header styles.

27afa39 2023-11-04 21:50:45 Pauli Virtanen

doc: use b->requested in tutorial4

49668a9 2023-11-04 18:45:55 Pauli Virtanen

doc: fixup some Doxygen autogen issues

Don't show page sections in left sidebar, it's confusing.
Rename Modules -> API Reference in sidebar.
Indicate visually the sidebar entries are collapsible.
Fix spa_pod_json grouping.
Move tools page to top level.
Fix page ordering.

dae0cca 2023-11-04 17:51:14 Wim Taymans

spa: explicitly mention that volumes are linear

See #3623

90e4ee9 2023-11-03 23:40:41 Wim Taymans

context: limit recursion in run_nodes

Limit the amount of recursion in run_nodes() for now until we find out
why it keeps on recursing.

See #3621

baac9aa 2023-11-03 18:01:48 jdavidsson

impl-link: reset state to INIT if not destroyed

If the link isn't destroyed, don't allow changing state to
PAUSED for states < PAUSED. For example, if the deactivation
is called during the link being in NEGOTIATING it could then
jump directly to PAUSED and believe it is prepared.

Fixes #3619

264857b 2023-11-03 02:00:49 Dylan Aïssi

Release pipewire version 0.3.84-1

Signed-off-by: Dylan Aïssi <dylan.aissi@collabora.com>

9965fb5 2023-11-03 01:25:52 Dylan Aïssi

Update symbols file

Signed-off-by: Dylan Aïssi <dylan.aissi@collabora.com>

6583e72 2023-11-03 01:21:20 Dylan Aïssi

Bump debian/changelog

Signed-off-by: Dylan Aïssi <dylan.aissi@collabora.com>

bce7b75 2023-11-03 01:18:02 Dylan Aïssi

Merge branch 'upstream/latest' into debian/master

b5963b6 2023-11-03 01:17:48 Dylan Aïssi

Merge tag '0.3.84' into upstream/latest