Skip to content
Snippets Groups Projects
  1. Aug 28, 2019
  2. Aug 21, 2019
  3. Aug 16, 2019
  4. Jul 03, 2019
    • Martin Schrodt's avatar
      fix microphone lag with PA · 58c15e52
      Martin Schrodt authored
      
      Several people have reported to have bag microphone lag with the PA
      backend. While I cannot reproduce the problem here, it seems that their
      PA somehow decides to buffer the microphone input for way too long,
      causing this delay. This patch sets an upper limit to the amount of
      data PA should hold. This fixes the problem reliably on their side,
      while having no adverse effects on mine.
      
      Signed-off-by: default avatarMartin Schrodt <martin@schrodt.org>
      Message-id: 20190615153852.99040-1-martin@schrodt.org
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      58c15e52
  5. Jun 12, 2019
    • Markus Armbruster's avatar
      Include qemu-common.h exactly where needed · a8d25326
      Markus Armbruster authored
      
      No header includes qemu-common.h after this commit, as prescribed by
      qemu-common.h's file comment.
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20190523143508.25387-5-armbru@redhat.com>
      [Rebased with conflicts resolved automatically, except for
      include/hw/arm/xlnx-zynqmp.h hw/arm/nrf51_soc.c hw/arm/msf2-soc.c
      block/qcow2-refcount.c block/qcow2-cluster.c block/qcow2-cache.c
      target/arm/cpu.h target/lm32/cpu.h target/m68k/cpu.h target/mips/cpu.h
      target/moxie/cpu.h target/nios2/cpu.h target/openrisc/cpu.h
      target/riscv/cpu.h target/tilegx/cpu.h target/tricore/cpu.h
      target/unicore32/cpu.h target/xtensa/cpu.h; bsd-user/main.c and
      net/tap-bsd.c fixed up]
      a8d25326
    • Markus Armbruster's avatar
      Include qemu/module.h where needed, drop it from qemu-common.h · 0b8fa32f
      Markus Armbruster authored
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20190523143508.25387-4-armbru@redhat.com>
      [Rebased with conflicts resolved automatically, except for
      hw/usb/dev-hub.c hw/misc/exynos4210_rng.c hw/misc/bcm2835_rng.c
      hw/misc/aspeed_scu.c hw/display/virtio-vga.c hw/arm/stm32f205_soc.c;
      ui/cocoa.m fixed up]
      0b8fa32f
  6. Apr 02, 2019
  7. Mar 22, 2019
  8. Mar 18, 2019
    • Martin Schrodt's avatar
      audio/paaudio: fix microphone input being unusable · ade10301
      Martin Schrodt authored
      
      The current code does not specify the metrics of the buffers for the
      input device. This makes PulseAudio choose very bad defaults, which
      causes input to be unusable: Audio put in gets out 30 seconds later.
      This patch fixes that and makes the latency configurable as well.
      
      Signed-off-by: default avatarMartin Schrodt <martin@schrodt.org>
      Message-id: 20190315084653.120020-4-martin@schrodt.org
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      ade10301
    • Martin Schrodt's avatar
      audio/paaudio: prolong and make latency configurable · f6142777
      Martin Schrodt authored
      
      The latency of a connection to the PulseAudio server is determined by
      the tlength parameter. This was hardcoded to 10ms, which is a bit too
      tight on my machine, causing audio on host and guest to malfunction.
      A setting of 15ms works fine here. To allow tweaking, I also made the
      setting configurable via the new -audiodev config. This allows to squeeze out better timings in scenarios where the emulation allows it.
      
      I also removed setting of the minreq parameter to (seemingly arbitrary) half the latency, since it showed worse audio quality during my tests. Allowing PulseAudio to request smaller chunks helped.
      
      Signed-off-by: default avatarMartin Schrodt <martin@schrodt.org>
      Message-id: 20190315084653.120020-3-martin@schrodt.org
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      f6142777
    • Martin Schrodt's avatar
      audio/paaudio: fix ignored buffer_length setting · baea032e
      Martin Schrodt authored
      
      Audiodev configuration allows to set the length of the buffered data.
      The setting was ignored and a constant value used instead.
      This patch makes the code apply the setting properly, and uses the
      previous default if nothing is supplied.
      
      Signed-off-by: default avatarMartin Schrodt <martin@schrodt.org>
      Message-id: 20190315084653.120020-2-martin@schrodt.org
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      baea032e
  9. Mar 11, 2019
  10. Feb 28, 2019
Loading