Skip to content
Snippets Groups Projects
  1. May 04, 2017
  2. Mar 01, 2017
    • Thomas Huth's avatar
      audio/sdlaudio: Allow audio playback with SDL2 · bcf19777
      Thomas Huth authored
      
      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: default avatarThomas Huth <thuth@redhat.com>
      Message-id: 1485852398-2327-1-git-send-email-thuth@redhat.com
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      bcf19777
    • Pavel Dovgaluk's avatar
      audio: make audio poll timer deterministic · 1ffc2665
      Pavel Dovgaluk authored
      
      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: default avatarPavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
      Message-id: 20170214071510.6112.76764.stgit@PASHA-ISP
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      1ffc2665
    • Pavel Dovgaluk's avatar
      replay: add record/replay for audio passthrough · 3d4d16f4
      Pavel Dovgaluk authored
      
      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: default avatarPavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
      Message-id: 20170202055054.4848.94901.stgit@PASHA-ISP.lan02.inno
      
      [ kraxel: add qemu/error-report.h include to fix osx build failure ]
      
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      3d4d16f4
  3. Aug 12, 2016
  4. Aug 08, 2016
  5. Jul 12, 2016
  6. Jun 20, 2016
  7. Jun 16, 2016
  8. Jun 03, 2016
  9. May 19, 2016
  10. May 18, 2016
  11. Mar 22, 2016
  12. Feb 23, 2016
  13. Feb 02, 2016
  14. Jan 13, 2016
  15. Dec 15, 2015
  16. Jul 08, 2015
  17. Jun 22, 2015
  18. Jun 15, 2015
Loading