patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob ff2f464395aaf7c8f0a739b0f01552c4ee987740 1626 bytes (raw)
name: img/app/etc/wireplumber/wireplumber.conf.d/99_spectrum.conf 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 
# SPDX-License-Identifier: MIT

# Copyright © 2019-2021 Collabora Ltd.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice (including the next
# paragraph) shall be included in all copies or substantial portions of the
# Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.

# Disable various stuff Spectrum doesn't need and which causes errors.
wireplumber.profiles = {
  spectrum = {
    inherits = [ main-embedded ]
    hardware.video-capture = disabled
    hardware.bluetooth = disabled
    support.settings = disabled
    check.no-media-session = disabled
    policy.standard = required
  }
}

# Default to 100% sink volume.  The host will adjust this as needed.
wireplumber.settings = {
  device.routes.default-sink-volume = 1.0
}

debug log:

solving ff2f464395aaf7c8f0a739b0f01552c4ee987740 ...
found ff2f464395aaf7c8f0a739b0f01552c4ee987740 in https://inbox.spectrum-os.org/spectrum-devel/5286585c-360a-4ef3-a6fc-752a5963d855@gmail.com/

applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/5286585c-360a-4ef3-a6fc-752a5963d855@gmail.com/
diff --git a/img/app/etc/wireplumber/wireplumber.conf.d/99_spectrum.conf b/img/app/etc/wireplumber/wireplumber.conf.d/99_spectrum.conf
new file mode 100644
index 0000000000000000000000000000000000000000..ff2f464395aaf7c8f0a739b0f01552c4ee987740

Checking patch img/app/etc/wireplumber/wireplumber.conf.d/99_spectrum.conf...
Applied patch img/app/etc/wireplumber/wireplumber.conf.d/99_spectrum.conf cleanly.

index at:
100644 ff2f464395aaf7c8f0a739b0f01552c4ee987740	img/app/etc/wireplumber/wireplumber.conf.d/99_spectrum.conf

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).