[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL v3 1/3] replay: add record/replay for audio passt
From: |
Alex Bennée |
Subject: |
Re: [Qemu-devel] [PULL v3 1/3] replay: add record/replay for audio passthrough |
Date: |
Fri, 24 Mar 2017 15:21:05 +0000 |
User-agent: |
mu4e 0.9.19; emacs 25.2.10 |
Gerd Hoffmann <address@hidden> writes:
> From: Pavel Dovgalyuk <address@hidden>
>
> 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>
> ---
> audio/audio.c | 9 ++++--
> audio/audio.h | 5 +++
> audio/mixeng.c | 32 ++++++++++++++++++++
> docs/replay.txt | 7 +++++
> include/sysemu/replay.h | 7 +++++
> replay/Makefile.objs | 1 +
> replay/replay-audio.c | 79
> ++++++++++++++++++++++++++++++++++++++++++++++++
> replay/replay-internal.h | 4 +++
> 8 files changed, 142 insertions(+), 2 deletions(-)
> create mode 100644 replay/replay-audio.c
>
<snip>
> diff --git a/replay/replay-internal.h b/replay/replay-internal.h
> index c26d079..ed66ed8 100644
> --- a/replay/replay-internal.h
> +++ b/replay/replay-internal.h
> @@ -29,6 +29,10 @@ enum ReplayEvents {
> /* for character device read all event */
> EVENT_CHAR_READ_ALL,
> EVENT_CHAR_READ_ALL_ERROR,
> + /* for audio out event */
> + EVENT_AUDIO_OUT,
> + /* for audio in event */
> + EVENT_AUDIO_IN,
> /* for clock read/writes */
> /* some of greater codes are reserved for clocks */
> EVENT_CLOCK,
Well one thing I noticed while I was trying to work out the difference
between pre/post mttcg replay problems is the log format ABI has
changed. REPLAY_VERSION needs to be bumped to prevent confusion.
--
Alex Bennée