1. 15 Mar, 2021 1 commit
    • Jonas Ådahl's avatar
      mixer-control: Rely on stream-id on device for cardless devices · c5ab6037
      Jonas Ådahl authored
      Some devices don't have a card to match against, (e.g. network sinks),
      which would make 'match_stream_with_devices()' get confused and log
      warnings about missing card devices when trying to match streams with
      devices.
      
      Avoid this by marking a stream as 'in-possession' if there was already a
      device with the stream ID set to it.
      
      This fixes warning like
      
         (gnome-shell:3521215): Gvc-CRITICAL **: 10:57:07.155: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
      c5ab6037
  2. 17 Sep, 2020 2 commits
    • Jaroslav Kysela's avatar
      mixer-control: do not use port name string to select the headset ports · 7a621180
      Jaroslav Kysela authored
      It is a bad idea to use the variable port name to check the port
      type. Use only the new port type and availability group string
      for the decision.
      
      Also, select the ports by priority, if there multiple ports
      with the similar type.
      7a621180
    • Hui Wang's avatar
      mixer-control: consolidate port finding and setting with/without ucm · 960e01d9
      Hui Wang authored
      Recently Intel added a new audio driver in the Linux kernel, it is
      called sof driver. This driver is needed on the laptops which
      connects the digital mic to the PCH instead of the codec. To make the
      sof driver work with pulseaudio, the ucm is mandatory.
      
      With the ucm, the multi-function audio jack has different port names
      in the pulseaudio from the one without ucm, these are the port names
      with the ucm:
      [In] Mic1: Digital Microphone
      [In] Mic2: Headphones Stereo Microphone
      [In] Headset: Headset Mono Microphone
      [Out] Headphones: Headphones
      [Out] Speaker: Speaker
      
      To make the audio device selection work on the machines using the ucm,
      the pulseaudio introduces a change to add 2 new members in the device
      port structure from the PA_PROTOCOL_VERSION=34, with these 2 members'
      help, we could consolidate the port finding and setting for both with
      ucm and without ucm.
      
      And this patch maintains the backward compatibility with the
      PA_PROTOCOL_VERSION < 34.
      960e01d9
  3. 09 Apr, 2020 6 commits
  4. 23 Nov, 2019 2 commits
  5. 22 Nov, 2019 2 commits
    • Florian Müllner's avatar
      build: Drop autotools support · 43be5d27
      Florian Müllner authored
      All of gnome-control-center, gnome-settings-daemon and gnome-shell
      are meson-only nowadays, so there seems little point in supporting
      two build systems.
      
      !9
      43be5d27
    • Florian Müllner's avatar
      ci: Use meson for CI build · 78d3f49f
      Florian Müllner authored
      All consumers of the submodule switched to meson, except the CI build.
      It neither seems useful to maintain a second build system just for that
      purpose, nor to test a configuation that isn't used by anybody.
      
      So set up a small fake project that includes gvc as a subproject, and
      build that during CI.
      
      !9
      78d3f49f
  6. 14 Jun, 2019 1 commit
  7. 17 Mar, 2019 2 commits
  8. 27 Feb, 2019 1 commit
    • Bastien Nocera's avatar
      ci: Add CI · 0e1b4bda
      Bastien Nocera authored
      This just builds the "what-did-you-plugin" test application, but it's
      good enough to catch the worst failures.
      0e1b4bda
  9. 16 Dec, 2018 1 commit
  10. 07 Dec, 2018 1 commit
  11. 10 Sep, 2018 2 commits
    • Bastien Nocera's avatar
      Merge branch 'wip/muktupavels/warnings' into 'master' · 7de39e76
      Bastien Nocera authored
      Fix build warnings
      
      See merge request !2
      7de39e76
    • Alberts Muktupāvels's avatar
      fix cast-function-type warnings · 4e9205d6
      Alberts Muktupāvels authored
      gvc-mixer-card.c: In function ‘gvc_mixer_card_finalize’:
      gvc-mixer-card.c:571:53: warning: cast between incompatible function types from ‘void (*)(GvcMixerCardProfile *)’ {aka ‘void (*)(struct <anonymous> *)’} to ‘void (*)(void *, void *)’ [-Wcast-function-type]
               g_list_foreach (mixer_card->priv->profiles, (GFunc) free_profile, NULL);
      
      gvc-mixer-stream.c: In function ‘gvc_mixer_stream_finalize’:
      gvc-mixer-stream.c:1044:52: warning: cast between incompatible function types from ‘void (*)(GvcMixerStreamPort *)’ {aka ‘void (*)(struct <anonymous> *)’} to ‘void (*)(void *, void *)’ [-Wcast-function-type]
               g_list_foreach (mixer_stream->priv->ports, (GFunc) free_port, NULL);
      4e9205d6
  12. 08 Sep, 2018 1 commit
  13. 07 Sep, 2018 2 commits
  14. 20 Aug, 2018 1 commit
    • Florian Müllner's avatar
      build: Remove bogus rpath · eeaffe5c
      Florian Müllner authored
      If anything it should be `pkglibdir`, but as it looks like nobody
      lost their volume controls, it's apparently not needed at all.
      
      !1
      eeaffe5c
  15. 30 Jan, 2018 6 commits
  16. 26 Jan, 2018 1 commit
  17. 06 Dec, 2017 2 commits
  18. 05 Oct, 2017 1 commit
  19. 10 Aug, 2017 1 commit
  20. 22 Jul, 2017 1 commit
    • Florian Müllner's avatar
      build: Don't include c_args in dependency · 3093bdb0
      Florian Müllner authored
      The defines are only relevant for compiling libgvc itself, not for
      any consumers of the library. In fact, setting G_LOG_DOMAIN is
      likely to conflict with the log domain defined by the including
      project ...
      3093bdb0
  21. 19 Jul, 2017 1 commit
  22. 29 May, 2017 1 commit
  23. 06 Apr, 2017 1 commit