1. 16 Aug, 2021 1 commit
  2. 15 Aug, 2021 2 commits
  3. 13 Aug, 2021 3 commits
    • P V's avatar
      bluez5: avoid poll busy loop in a2dp-sink · 672223d0
      P V authored
      Disable flush polling when we don't have data ready to write to the
      socket (or socket send failed). This avoids entering into a poll busy
      loop, which may result to rtkit killing the process.
      672223d0
    • P V's avatar
      bluez5: enable SBC-XQ codec by default, if allowed by quirks · 5071589a
      P V authored and Wim Taymans's avatar Wim Taymans committed
      Enable SBC-XQ by default, and move it at the end of the codecs list, so
      that bluez does not connect to it automatically except when it is the
      codec used previously.
      
      When the codec is disabled by quirks, it won't appear in the codecs
      list, and so can't be selected by user (and so won't be connected
      automatically).
      
      However, since SelectConfiguration does not carry information which
      device is in question, we cannot prevent BlueZ connecting to the codec
      even if it's disabled for a specific device. If the "impossible" occurs
      regardless, we won't reject the connection and the profile will be shown
      as the generic "A2DP" one.  If the sound is garbled, the user can select
      some other profile that works.
      5071589a
    • Zsombor Welker's avatar
      bluez5: handle XAPL battery level per Apple Guidelines · f5850af4
      Zsombor Welker authored
      Corrects the handling of AT+XAPL Apple extensions to send
      `+XAPL=iPhone,2` instead of `+XAPL: iPhone,2` based on Apple's
      documentation.
      
      Replaces magic numbers with enum values.
      
      [Accessory Design Guidelines](https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf)
      f5850af4
  4. 12 Aug, 2021 5 commits
  5. 11 Aug, 2021 12 commits
  6. 10 Aug, 2021 3 commits
  7. 09 Aug, 2021 11 commits
    • P V's avatar
      pulse-server: allow moving nodes with node.target to default sink/src · aa0736d6
      P V authored
      Set node.target metadata to "-1" instead of deleting it to direct nodes
      to the default device.
      
      Deleting the metadata, as done previously, does not work for nodes for
      which the client has node.target set.
      aa0736d6
    • P V's avatar
      media-session: simplify target node handling + fix priorities · 8c6b111e
      P V authored
      Handle all node.target behavior in rescan_node.
      
      Make distinction between target nodes set in session manager via
      metadata or via restore-stream; priorities are
      metadata > client's node.target > restore-stream.
      Allow metadata override to also remove the target node setting.
      8c6b111e
    • P V's avatar
      media-session: fix linking nodes with targets to wrong nodes · e2d810a9
      P V authored
      For nodes that have node.target set, when the target is not available,
      media-session links them to any available node.  If the target node
      appears afterward, media-session would not re-link them, leading to
      output being directed to wrong place (e.g. pavucontrol input monitor)
      even though the intended target or a better fallback is available.
      
      This occurs e.g. when devices are removed and re-added.
      
      Fix this by (i) for reconnectable nodes, reconnect them if target
      appears later, and (ii) for non-reconnectable nodes, raise error to the
      client if node.target is set but not found (but proceed to fallback if
      obj->target_node is set).
      
      Also slightly reorganize policy-node.c:rescan_node for clarity.
      e2d810a9
    • Wim Taymans's avatar
      alsa: enable client-rt for alsa clients · 780f2d64
      Wim Taymans authored
      So that the pipewire thread is running with RT priority.
      780f2d64
    • Wim Taymans's avatar
      pulse-server: fix some indent errors · 5a4ef784
      Wim Taymans authored
      5a4ef784
    • Wim Taymans's avatar
      acp: compare the HW volume against stored HW volume · 35d7ad55
      Wim Taymans authored
      When we store the real_volume we get a hardware_volume as stored
      in the mixer and a residual software_volume.
      
      When we read the volume from the card, we need to compare this against
      the hardware_volume we stored to check if something changed, not
      against the real_volume that also contains the leftover software_volume.
      35d7ad55
    • Niklāvs Koļesņikovs's avatar
      pipewire-jack/src/meson.build: turn jack-devel warning into error · 03a4c010
      Niklāvs Koļesņikovs authored
      Almost no one will see that warning just like the rest of Meson
      configuration warnings. So, if it's gonna yield a build with
      dysfunctional JACK SDK, then it's best to make it explicitly fail
      before people file bugs about missing jack.pc file.
      03a4c010
    • Wim Taymans's avatar
      context: also set driver on inactive nodes that want one · 0e386b65
      Wim Taymans authored
      Also set the driver on an inactive node when it wants a driver.
      
      Fixes the case where xjadeo does not activate itself but still wants
      to poll the transport state of the driver.
      
      See #1491
      0e386b65
    • Wim Taymans's avatar
      conf: try to load state from where we saved it · 7fda6614
      Wim Taymans authored
      When XDG_STATE_HOME is unset, we save in $HOME/.local/state/pipewire,
      so try to first load the state file from there as well before we
      try to fall back to the old XDG_CONFIG_HOME location.
      7fda6614
    • Peter Hutterer's avatar
      conf: store state in XDG_STATE_HOME · 55c264d2
      Peter Hutterer authored
      Defaulting to $HOME/.local/state, this is the directory that state
      information is to be kept.
      
      As with the configuration loading, where a caller requests an absolute
      path, that path will be honored, we only fall back to XDG_STATE_HOME for
      relative paths.
      
      This adds a new PIPEWIRE_STATE_DIR environment variable to override this
      directory.
      55c264d2
    • Peter Hutterer's avatar
      conf: rework conf_load to take a path only · 956c83f1
      Peter Hutterer authored
      Refacturing to make it possible to read from different paths.
      956c83f1
  8. 08 Aug, 2021 3 commits