1. 03 Oct, 2022 1 commit
  2. 08 Jun, 2022 1 commit
  3. 15 Apr, 2022 1 commit
  4. 22 Mar, 2022 1 commit
    • P V's avatar
      pipewire: don't setlocale from pw_init, let parent app set it · c66bb65c
      P V authored
      Library code generally shouldn't modify global state, so pw_init()
      should not result to changing the C locale.
      
      Instead, set the C locale in main() for tools and daemons.
      
      We'll still setlocale for LC_MESSAGES, to get translated UI elements in
      wireplumber. This workaround should be removed eventually...
      c66bb65c
  5. 21 Mar, 2022 1 commit
    • Wim Taymans's avatar
      spa: add locale independent spa_dtoa · 2b16df4e
      Wim Taymans authored
      And use this in spa_json_format_float() where we also avoid invalid
      json floats.
      Use json float format in some places where we serialize json floats.
      Add a unit test.
      
      See #2223
      2b16df4e
  6. 20 Mar, 2022 1 commit
  7. 09 Feb, 2022 1 commit
  8. 07 Feb, 2022 1 commit
    • Wim Taymans's avatar
      tools: cleanup up printf · afc88a12
      Wim Taymans authored
      Make all tools output to stdout (pw-mon mostly) so that we can pipe the
      output around.
      Send errors to stderr.
      fprintf(stdout, ...)  -> printf(...)
      setlinebuf for stdout so that pipe works better.
      
      See #2110
      afc88a12
  9. 27 Jan, 2022 1 commit
  10. 26 Jan, 2022 1 commit
    • Wim Taymans's avatar
      pw-dump: add pattern matching · b7e0b543
      Wim Taymans authored
      Do pattern matching on object properties to also allow lookups on
      type, object.path, object.serial and <type>.name.
      
      ex:
      
        pw-dump alsa_card.usb-BEHRINGER_UMC404HD_192k-00
        pw-dump alsa_input*
        pw-dump Node
      b7e0b543
  11. 31 Aug, 2021 1 commit
  12. 30 Jun, 2021 1 commit
    • Barnabás Pőcze's avatar
      treewide: mark things `static` and `const` · f5d51162
      Barnabás Pőcze authored
      Mark some structures, arrays static/const at various places.
      In some cases this prevents unnecessary initialization
      when a function is entered.
      
      All in all, the text segments across all shared
      libraries are reduced by about 2 KiB. However,
      the total size increases by about 2 KiB as well.
      f5d51162
  13. 18 Jun, 2021 1 commit
  14. 16 Jun, 2021 1 commit
  15. 02 Jun, 2021 3 commits
  16. 18 May, 2021 1 commit
  17. 08 May, 2021 1 commit
    • Barnabás Pőcze's avatar
      tools/pw-dump: fix parentheses around `isatty()` call · 68f75bbd
      Barnabás Pőcze authored
      Previously,
      
        isatty(fileno(data.out) && getenv("NO_COLOR") == NULL))
      
      would call `isatty()` with
      
        fileno(data.out) && getenv("NO_COLOR") == NULL
      
      as its argument. This meant that, for example,
      
        NO_COLOR=1 pw-dump
      
      would still produce colored output when run with
      a TTY as its standard input.
      
      Fix that by moving the parenthesis.
      
      Fixes: af63d084 ("tools/pw-dump: only print colors if we're connected to a terminal")
      68f75bbd
  18. 07 May, 2021 1 commit
  19. 06 May, 2021 1 commit
    • Peter Hutterer's avatar
      spa/buffer: rename SPA_MEMBER to SPA_PTROFF · 2405f094
      Peter Hutterer authored and Wim Taymans's avatar Wim Taymans committed
      SPA_MEMBER is misleading, all we're doing here is pointer+offset and a
      type-casting the result. Rename to SPA_PTROFF which is more expressive (and
      has the same number of characters so we don't need to re-indent).
      2405f094
  20. 13 Apr, 2021 2 commits
  21. 23 Mar, 2021 1 commit
  22. 13 Mar, 2021 1 commit
  23. 12 Feb, 2021 1 commit
    • Wim Taymans's avatar
      conf: more work on config changes · 80825aea
      Wim Taymans authored
      Add -c option to pipewire to select config file. Use this to select
      the uninstalled conf file.
      Rename conf properties, prefix with context.
      Simplify the main daemon now that everything can go in config.
      Simplify pipewire-pulse now that we can put everything in config, it's
      now virtually the same as pipewire but with a differenct config file.
      Parse server addresses as array of strings.
      80825aea
  24. 08 Feb, 2021 1 commit
  25. 05 Feb, 2021 1 commit
    • Wim Taymans's avatar
      rework param updates · c25bdce6
      Wim Taymans authored
      Make it possible to add a NULL param to the pending list. The NULL
      param removes all previous updates.
      When applying the updates, the NULL param removes the params from
      the target list.
      
      For the cached params in the node/device/port we need to be careful
      because multiple clients might ask for updates concurrently. Clear
      the pending list whenever a new param update starts so that we always
      only keep the last set of updates.
      
      This has two advantages: it actually removes params that become
      unreadable or that got removed and it allows us to update the target
      list more efficiently in one single loop.
      c25bdce6
  26. 04 Feb, 2021 2 commits
    • Wim Taymans's avatar
      Revert "rework param updates" · 994fc116
      Wim Taymans authored
      This reverts commit 5aa7746c.
      
      Routes are duplicated for some reason, needs more debugging.
      994fc116
    • Wim Taymans's avatar
      rework param updates · 5aa7746c
      Wim Taymans authored
      Make it possible to add a NULL param to the pending list. The NULL
      param removes all previous updates.
      When applying the updates, the NULL param removes the params from
      the target list.
      
      This has two advantages: it actually removes params that become
      unreadable or that got removed and it allows us to update the target
      list more efficiently in one single loop.
      5aa7746c
  27. 03 Feb, 2021 1 commit
  28. 02 Feb, 2021 1 commit
  29. 22 Jan, 2021 1 commit
  30. 19 Jan, 2021 1 commit
  31. 15 Jan, 2021 1 commit
  32. 14 Jan, 2021 5 commits