qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 3d4d16: replay: add record/replay for audio p


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 3d4d16: replay: add record/replay for audio passthrough
Date: Thu, 02 Mar 2017 14:15:09 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 3d4d16f4dc101e16f643acc44dfffdbaf2a8f01c
      
https://github.com/qemu/qemu/commit/3d4d16f4dc101e16f643acc44dfffdbaf2a8f01c
  Author: Pavel Dovgalyuk <address@hidden>
  Date:   2017-03-01 (Wed, 01 Mar 2017)

  Changed paths:
    M audio/audio.c
    M audio/audio.h
    M audio/mixeng.c
    M docs/replay.txt
    M include/sysemu/replay.h
    M replay/Makefile.objs
    A replay/replay-audio.c
    M replay/replay-internal.h

  Log Message:
  -----------
  replay: add record/replay for audio passthrough

This patch adds recording and replaying audio data. Is saves synchronization
information for audio out and inputs from the microphone.

v2: removed unneeded whitespace change

Signed-off-by: Pavel Dovgalyuk <address@hidden>
Message-id: address@hidden

[ kraxel: add qemu/error-report.h include to fix osx build failure ]

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 1ffc266539d443f83d5eb487593be50ef496f09e
      
https://github.com/qemu/qemu/commit/1ffc266539d443f83d5eb487593be50ef496f09e
  Author: Pavel Dovgalyuk <address@hidden>
  Date:   2017-03-01 (Wed, 01 Mar 2017)

  Changed paths:
    M audio/audio.c

  Log Message:
  -----------
  audio: make audio poll timer deterministic

This patch changes resetting strategy of the audio polling timer.
It does not change expiration time if the timer is already set.
This patch is needed to make this timer deterministic and to use execution
record/replay for audio devices.

audio_reset_timer is used in the function audio_vm_change_state_handler.
Therefore every time VM is stopped or restarted the timer will be reset
to new timeout. Virtual clock does not proceed while VM is stopped.
Therefore there is no need in resetting the timeout when VM restarts.

v2: updated commit message
v3: now using timer_mod_anticipate function (as suggested by Yurii Zubrytskyi)

Signed-off-by: Pavel Dovgalyuk <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: bcf19777df78193f7cdb108a55db44fd4f20d5b5
      
https://github.com/qemu/qemu/commit/bcf19777df78193f7cdb108a55db44fd4f20d5b5
  Author: Thomas Huth <address@hidden>
  Date:   2017-03-01 (Wed, 01 Mar 2017)

  Changed paths:
    M audio/sdlaudio.c

  Log Message:
  -----------
  audio/sdlaudio: Allow audio playback with SDL2

When compiling with SDL2, the semaphore trick used in sdlaudio.c
does not work - QEMU locks up completely in this case. To avoid
the hang and get at least some audio playback up and running (it's
a little bit crackling, but better than nothing), we can use the
SDL locking functions SDL_LockAudio() and SDL_UnlockAudio() to sync
with the sound playback thread instead.

Signed-off-by: Thomas Huth <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 683550488717333fed4295f5f994328196c7bf3e
      
https://github.com/qemu/qemu/commit/683550488717333fed4295f5f994328196c7bf3e
  Author: Peter Maydell <address@hidden>
  Date:   2017-03-02 (Thu, 02 Mar 2017)

  Changed paths:
    M audio/audio.c
    M audio/audio.h
    M audio/mixeng.c
    M audio/sdlaudio.c
    M docs/replay.txt
    M include/sysemu/replay.h
    M replay/Makefile.objs
    A replay/replay-audio.c
    M replay/replay-internal.h

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/kraxel/tags/pull-audio-20170301-1' into 
staging

audio: replay support, sdl2 fix.

# gpg: Signature made Wed 01 Mar 2017 15:38:09 GMT
# gpg:                using RSA key 0x4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg:                 aka "Gerd Hoffmann <address@hidden>"
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>"
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* remotes/kraxel/tags/pull-audio-20170301-1:
  audio/sdlaudio: Allow audio playback with SDL2
  audio: make audio poll timer deterministic
  replay: add record/replay for audio passthrough

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/b49d31a05a1e...683550488717

reply via email to

[Prev in Thread] Current Thread [Next in Thread]