From: "Alex Bennée" <alex.bennee@linaro.org>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: qemu-devel@nongnu.org, Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
Subject: Re: [Qemu-devel] [PULL v3 1/3] replay: add record/replay for audio passthrough
Date: Fri, 24 Mar 2017 15:21:05 +0000 [thread overview]
Message-ID: <874lyiya3i.fsf@linaro.org> (raw)
In-Reply-To: <1488382850-19252-2-git-send-email-kraxel@redhat.com>
Gerd Hoffmann <kraxel@redhat.com> writes:
> From: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
>
> 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 <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: Gerd Hoffmann <kraxel@redhat.com>
> ---
> 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
next prev parent reply other threads:[~2017-03-24 15:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-01 15:40 [Qemu-devel] [PULL v3 0/3] audio patch queue Gerd Hoffmann
2017-03-01 15:40 ` [Qemu-devel] [PULL v3 1/3] replay: add record/replay for audio passthrough Gerd Hoffmann
2017-03-24 15:21 ` Alex Bennée [this message]
2017-03-27 5:40 ` Pavel Dovgalyuk
2018-04-27 12:22 ` Peter Maydell
2018-04-27 12:28 ` Pavel Dovgalyuk
2018-05-08 16:53 ` Peter Maydell
2017-03-01 15:40 ` [Qemu-devel] [PULL v3 2/3] audio: make audio poll timer deterministic Gerd Hoffmann
2017-03-01 15:40 ` [Qemu-devel] [PULL v3 3/3] audio/sdlaudio: Allow audio playback with SDL2 Gerd Hoffmann
2017-03-02 22:06 ` [Qemu-devel] [PULL v3 0/3] audio patch queue Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874lyiya3i.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=kraxel@redhat.com \
--cc=pavel.dovgaluk@ispras.ru \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).